The majority-Republican Arkansas state Senate voted Tuesday to pass a bill that would criminalize transgender people from using public changing facilities that coincides with their gender identity, introducing a restriction critics say would be the most extreme in the country.

Under Senate Bill 270, a transgender person would be charged with misdemeanor sexual indecency with a child if they use a public changing facility that doesn’t match their assigned sex at birth. 

According to the bill, sex is defined as a person’s biological “anatomy and genetics existing at the time of birth.” The bill also defines public changing facilities as restrooms, bathrooms, locker rooms, or shower rooms but doesn’t include a private dressing area in commercial clothing stores.

While several Republican lawmakers abstained from the vote, the bill was approved on a 19-7 vote in the 35-member Senate. The bill will now head to the GOP-run state House.

The bill comes amidst an upsurge of anti-transgender legislation and increasingly hostile rhetoric against transgender people in largely red states. More than 175 bills targeting transgender people’s rights have been introduced this year, according to the Human Rights Campaign. 

“What this is is an attack on the continued existence in public of transgender people, and the criminalization of being transgender in public,” said Cathryn Oakley, state legislative director and senior counsel at the Human Rights Campaign.

‘YOU HAVE TO STAND UP TO BULLIES’: How Rachel Levine fights for LBGTQ people as highest-ranking transperson