The New York City Police Department has entered into a settlement agreement with members of New Jersey’s Muslim community, ending a civil rights lawsuit spurred by the department’s surveillance of mosques, community groups, and even schools in the wake of the September 11, 2001, terrorist attacks.

Farhaj Hassan, the named plaintiff in the suit

“Today is truly a good day for the civil rights of all Americans,” Farhana Khera, executive director of Muslim Advocates, said during a call with reporters Thursday. The group is co-counsel in the suit, Hassan v. City of New York, 12-cv-03401.