Correction appended, May 17

A federal court ordered a Mississippi town to combine its two high schools and middle schools on Friday in order to finally desegregate the school district after a five-decade legal battle.

The U.S. District Court for the Northern District of Mississippi ordered that the two high schools in Cleveland, Miss. should be consolidated into one high school immediately, calling the sustained segregation a decision a “burden” that “deprived generations of students of the constitutionally-guaranteed right of an integrated education.” The court rejected two alternate proposals presented by the district, and instead ordered the district to consolidate a mostly-black middle school and high school with the mostly-white ones, effectively ending segregation in this town of 12,000 people more than 50 years after Brown vs Board of Education. The district has about 3,700 students who are 66% black, and 30% white.

“Delaying desegregation obligations is both unacceptable and unconstitutional,” said Principal Deputy Assistant Attorney General Vanita Gupta, head of the Justice Department’s Civil Rights Division, in a statement announcing the decision. “This victory creates new opportunities for the children of Cleveland to learn, play and thrive together. The court’s ruling will result in the immediate and effective desegregation of the district’s middle school and high school program for the first time in the district’s more than century-long history.”

A lawyer for the district told the Jackson Clarion-Ledger that they are still reviewing the 96-page decision and are deciding whether to appeal.

Correction: The original version of this story misstated the name of the newspaper that cited a district lawyer saying officials were reviewing the decision. It is the Jackson Clarion-Ledger.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Charlotte Alter at charlotte.alter@time.com.