Editors’ Note: This article has been updated to reflect a Correction.

New York City has agreed to pay $18 million to settle claims from mass arrests during the 2004 Republican National Convention, a move that activists and civil rights attorneys hailed Wednesday as a victory for constitutional rights.