The city has agreed to pay nearly $600,000 to settle allegations that police wrongfully arrested a group of Occupy Wall Street protesters, marking the largest settlement to date in an Occupy-related civil rights lawsuit, the marchers’ lawyers said Tuesday.

The $583,000 pact involves 14 demonstrators who said police ordered them to leave but prevented them from doing so and arrested them in lower Manhattan early on New Year’s Day 2012. The disorderly conduct cases were dismissed, according to the protesters’ federal lawsuit, which argues they were arrested “for expressing their views.”