The decision says because Title IX explicitly allows states to create male and female teams, the laws do not violate federal statute.

The ruling will impact laws in more than 25 states.

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