NEW YORK - (AP) - The New York Civil Liberties Union says adatabase with the names and addresses of hundreds of thousands ofpeople stopped, questioned and frisked by police is illegal.

The NYCLU says state law requires that records relating to asummons or an arrest be sealed unless the person is convicted orpleads guilty to a crime.

It filed a lawsuit in state Supreme Court in Manhattan.

The database grew out of a 2001 law. It required the NYPD togive lawmakers quarterly information on people it has stopped. Lastyear, the total was more than 575,000.

Police use the database as a tool to investigate crime. PoliceCommissioner Raymond Kelly says he hasn't seen the lawsuit butreiterated the importance of the database.