The city has agreed to pay $100,000 to a Brooklyn man whose beating by police officers was captured on surveillance video.
The payment, plus legal fees, ends the lawsuit brought by 22-year-old Ehud Halevy.
It was back in October of 2012 that police were called by a security guard to the Aliya Institute after Halevy was found sleeping on a couch.
Police say he resisted arrest.
The incident was captured on surveillance.
Halevy spent four days in jail and faced a string of charges including assaulting a police officer.
The charges were later dropped after the synagogue confirmed Halevy had permission to sleep there.
Assemblyman Dov Hikind, who represents the area, released a statement that said in part, "I have been a friend and a vocal supporter of the NYPD, but this was anything but New York's Finest in their finest moment..."
The city also released a statement saying the "Settlement was in the best interest of all parties."