The U.S. Supreme Court on Tuesday ruled against the Zuni and Gallup-McKinley County school districts, which had claimed the U.S. Department of Education unfairly deprived them of $20 million a year for their predominantly American Indian students.

The Court, in a 5-4 decision, rejected the northwestern New Mexico districts’ arguments that federal education officials deliberately shortchanged them by using the wrong public school funding formula.