The U.S. Supreme Court on Monday unanimously ruled that the National Collegiate Athletic Association violated federal antitrust laws by restricting certain education-related benefits to student athletes.

The high court, in an opinion by Justice Neil Gorsuch, upheld a federal district court’s injunction against the NCAA rule.