Updated

Civil rights lawyers say New York City has agreed to end the practice of storing the names and addresses of people whose cases are dismissed after a police stop.

The New York Civil Liberties Union said Wednesday that the agreement was reached as part of a settlement of a lawsuit in state court in Manhattan.

The city's law office and the NYPD did not immediately comment.

The NYCLU says the department will no longer store the names of people who are stopped, arrested or issued a summons when those cases are dismissed or resolved with a fine for a noncriminal violation.

A lawsuit was brought in May 2010 on behalf of hundreds of thousands of people whose personal information was kept in a stop-and-frisk database.