A 6–3 Supreme Court decision, split along ideological lines, upheld bans in 27 states that exclude transgender girls from girls’ and women’s sports teams.

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.