A federal judge has given the final sign-off to a settlement in a class action suit filed on behalf of a group of 23 New York City public school students who alleged the city didn’t do enough to prevent bullying in schools.

In their suit, filed in 2016, the students alleged that violence is “endemic” in New York City schools, particularly those that serve poor and predominantly minority neighborhoods, and they have been harmed either physically or verbally by fellow students and school staff.