The U.S. Supreme Court on Tuesday ruled that state scan ban transgender athletes from sports.

The three liberal justice on the Supreme Court dissented as the judiciary upheld state bans on transgender athletes.

The ruling will impact laws in more than 25 states.