BRANDON, Miss. – A federal judge found a Mississippi school district in contempt of court for allowing a prayer at a voluntary honors assembly six months after the district agreed to prevent prayer as part of a settlement.

U.S. District Judge Carlton Reeves – an appointee of President Obama in 2010 – ordered the Rankin County school district to pay a former student $7,500 after he found the district in contempt of court for violating a previous legal settlement. That 2013 settlement with a student identified as M.B. prohibited the district from sponsoring prayers at school events, the Associated Press reports.

MORE NEWS: From Classroom to Consulate Chef: Culinary Student Lands Dream Job at U.S. Embassy in Paris

M.B. sued the district because a school assembly the student attended at Northwest Rankin High School allegedly promoted Christianity. M.B. filed a second complaint six months later over a prayer by St. Mark’s United Methodist Church Rev. Rob Gill at a voluntary honors assembly at Brandon High School, according to the news service.

Judge Carlton Reeves

The most recent complaint – a motion for contempt of court filed with the help of the American Humanist Association atheist group – alleged district officials also violated the earlier settlement by allowing Gideons International to distribute Bibles to fifth-graders at Northwest Rankin Elementary School last fall, Ed Week reports.

District officials argued that because the honors assembly and Bible distribution were completely voluntary, it did not violate students’ First Amendment, but Reeves wrote that the district’s legal argument “crumbles under the least possible scrutiny,” The Clarion-Ledger reports.

“Under the Agreed Judgement, M.B. acquiesced not to pursue her lawsuit with the pledge that the District, in turn, would ensure future compliance with the provisions of its newly adopted policy on religion,” Reeves wrote, according to the site.

“… Defendant failed to honor its end of the agreement. The District’s breach did not take very long and it occurred in a very bold way.”

The judge threatened to fine the district $10,000 for future incidents of any religious sermons or prayers in school-sponsored events.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Reeves wrote that the district “went out of its way to entangle Christian indoctrination in the education process” by allowing the Bible distribution, and the prayer at the voluntary honors assembly “displays that the district did not make any effort to adhere to the agreed judgement.”

District attorney Fred Harrell told The Clarion-Ledger he plans to meet with school board members to ensure all teachers and staff are aware of the judge’s warning and the district’s strict no-religion rules.

“As long as there is testing in schools, we believe that teachers, principals and students will continue to pray,” superintendent Lynn Weathersby said in a statement. “That being said, the school district will certainly abide by the order of any court to the best of its ability and will take whatever action necessary to make sure that all principals and teachers are updated on the current status of the law and that order.”

The AP reports that M.B. graduated from Northwest Rankin High School in 2014 and now attends American University.

The American Humanist Association, of course, is celebrating the judge’s ruling.

“The court’s order vindicates our client’s First Amendment freedoms and seeks to ensure that the school district will comply with the Constitution and cease its egregious practices of endorsing prayers, sermons and other religious practices in the future,” Appignani Humanist Legal Center attorney Monica Miller said in a press release, according to The Clarion-Ledger.