In a development one observer calls a "win for what is right," a federal court ruled Tuesday that Arizona's ban on ethnic studies classes was enacted with discriminatory intent and is unconstitutional—violating students' First and Fourteenth Amendment rights.

"Both enactment and enforcement were motivated by racial animus," wrote federal appeals court Judge A. Wallace Tashima of the district court in Arizona.

"We won on all points," said Richard Martinez, one of six lawyers defending the student plaintiffs. "It speaks to the importance of the judiciary and protecting everyone against racial discrimination."

Many educators celebrated the news on social media:

Victory 4 ed justice. Fed court finds AZ ethnic studies ban violates 1st & 14th Amendments. Decision: https://t.co/qsJdnTVlzw h/t @debreese pic.twitter.com/L6oNWFiaYc — Zinn Ed Project (@ZinnEdProject) August 23, 2017

This is a huge victory for #EthnicStudies & teachers in the time of #Trump. I couldn't be more excited to teach ethnic studies this year! https://t.co/bg9JxROxA4 — Jesse Hagopian (@JessedHagopian) August 23, 2017

Outstanding news out of AZ! Share widely! Can't wait to see the news stories! This is a win for what is right, for children. https://t.co/qj6D4MidhG — Debbie Reese (@debreese) August 23, 2017

This was the biggest #EthnicStudies case in the history of the country-I am pleasantly stunned it came down on the side of justice #MASTrial — Dr. Nolan L. Cabrera (@chicanostocracy) August 23, 2017

SCROLL TO CONTINUE WITH CONTENT Never Miss a Beat. Get our best delivered to your inbox.







Battling white supremacy requires many strategies: let's take a moment to celebrate this legal victory. We are owed knowledge of ourselves. https://t.co/aqCY8yCyJa — Leigh Patel (@lipatel) August 23, 2017

The case stems from the state's 2010 law that prohibited classes that promote "the overthrow of the United States government," "resentment toward a race or class of people,” "are designed primarily for pupils of a particular ethnic group," or "advocate ethnic solidarity instead of the treatment of pupils as individuals." At its heart, it was an "attempt to silence stories that unsettle today's unequal power arrangements," as Bill Bigelow, curriculum editor of Rethinking Schools and co-director of the Zinn Education Project, put it.

The law forced the suspension of Tucson Unified School District's Mexican-American Studies (MAS) program—which has been linked to academic success. Tashima noted the cognitive dissonance of supposed education advocates axing such a successful program, writing:

given that the MAS program was an academically successful program, the decision by each of these two Superintendents of Public Instruction [Tom Horne and his successor John Huppenthal] to eliminate it was a departure from the substantive outcome that one would expect. One would expect that officials responsible for public education in Arizona would continue, not terminate, an academically successful program. Horne himself admitted that he did not enforce the statute against the Asian-American studies program in Tucson because he "was told that it was academically an excellent program." Although Horne and Huppenthal were told that the MAS program was academically excellent, they refused to believe it.

Horne and Huppenthal "were pursuing these discriminatory ends in order to make political gains," Tashima wrote, and also pointed to blog comments by Huppenthal that "provide the most important and direct evidence that racial animus infected the decision to enact" the law. The comments included: "The Mexican-American Studies classes use the exact same technique that Hitler used in his rise to power"; "The books aren't the problem. The infected teachers are the problem;" and "MAS = KKK in a different color."

Grassroots group UNIDOS, created in response to the MAS program closure, said following the ruling: "Today was a major victory in our struggle, and we hope that it leads to many more." "As a community we celebrate this victory with all those who have supported and pursued the dismantling of this racist act against the Mexican-American community. With this accomplishment we must remember that the fight is not over. UNIDOS and the community of Tucson will continue to resist any injustice that plagues our community. We would like to thank all our allies and those who never lost hope in the fight," the group said on its Facebook page.

The Associated Press adds that "Tashima said he doesn't know a remedy for the violation and has not issued a final judgment."