The Supreme Court is upholding state laws barring transgender girls and women from playing on school athletic teams, in another setback for transgender people.

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.