Updated

NYPD databases will no longer store the names and identifying information of people with clean criminal records after being stopped and frisked, thanks to an agreement settling a lawsuit over the issue.

The deal signed Tuesday resulted from a May 2010 lawsuit brought in Manhattan by the New York Civil Liberties Union. The civil rights group announced the settlement Wednesday, saying the New York Police 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.

"Though much still needs to be done, this settlement is an important step toward curbing the impact of abusive stop-and-frisk practices," said Christopher Dunn, associate legal director of the NYCLU and lead counsel in the case.

"The NYPD had been in full compliance with the relevant legislation since it was passed in 2010," said Paul Browne, the department's top spokesman. "Accordingly, there was no practical reason to continue this litigation."

Celeste Koeleveld, the lead city lawyer on the case, said the settlement was consistent with a 2010 state law that banned identifying information without a conviction.

She said the city will continue to store data on stops, but will not include any identifying information about those who are stopped.

As for those who are arrested of crimes and convicted, she said their names and other identifying information will continue to be included in various criminal databases.

"Under the circumstances, it seemed like an effective way to end the litigation," she said.

The NYPD echoed the city's position, saying in a statement the department had fully complied with the relevant legislation since it passed in 2010.

"Accordingly, there was no practical reason to continue this litigation," said NYPD spokesman Paul Browne.

The deal resulted from a lawsuit brought on behalf of hundreds of thousands of people whose personal information was in a stop-and-frisk database.

"New Yorkers who are the victims of unjustified police stops will no longer suffer the further injustice of having their personal information stored indefinitely in an NYPD database," NYCLU Executive Director Donna Lieberman said in a news release.

"This settlement finally clears the names of hundreds of thousands of people whose only crime was that they were stopped and frisked by NYPD officers," she said.

The lawsuit had been brought by two New York City residents — Clive Lino and Daryl Khan — who had been stopped and frisked by police officers but were cleared of any wrongdoing.

Khan, a freelance journalist who covered the NYPD for more than a decade and has no criminal record, was riding his bike on a Brooklyn street on Oct. 7, 2009, when two police officers in an unmarked van pulled him over.

"Essentially, I was in an NYPD database for riding my bike," Khan said. "New York City prizes itself for its freedom; but a free society can't call itself free if it allows its local police department to keep a massive secret database of people who have been shown to have done nothing wrong."

Based on reporting by The Associated Press.

Follow us on twitter.com/foxnewslatino
Like us at facebook.com/foxnewslatino