Kansas lawmakers voted Tuesday to pass sweeping legislation targeting transgender people, prohibiting them from using bathrooms that align with their gender identities and preventing them from changing their names or genders on drivers licenses. The bill is expected to be vetoed by Gov. Laura Kelly, but the Republican-led legislature could override a veto.

While the vote was the first on several on anti-transgender bills expected this week, the proposal, Senate Bill 180, would break new ground. It would define “sex” as “either male or female, at birth,” in state law and mandate that government statisticians count individuals based on their sex assigned at birth and would prevent public documents, including birth certificates, from being changed to reflect an individual’s gender identity.

Two Democrats voted for the bill in the Kansas House last week, giving lawmakers a path to a veto-proof majority in that chamber. When the Senate considered the bill Tuesday, it approved the legislation on a 28-12 vote, a margin that would clear the bar needed to overturn a veto.

The move comes amid a wave of anti-transgender legislation in largely red states. Lawmakers in Iowa recently passed a bathroom bill targeting transgender students and staff in public schools. States including Missouri, Tennessee, Utah, Mississippi and South Dakota have all banned gender-affirming health care for transgender youth or are considering measures to do so this year. According to the Human Rights Campaign, more than 400 anti-LGBTQ bills are being tracked in 2023.

Critics worry the Kansas bill will dehumanize and deny recognition to transgender, nonbinary and gender-nonconforming people. Nearly 200 transgender people and their allies rallied at the Kansas Statehouse last week to urge lawmakers to reject the measure.

‘I AM WHAT THEY’RE SCARED OF’: Transgender youths rally at Kansas Statehouse

“We are in a fight for our lives,” Justin Brace, executive director of Transgender Kansas, said at the rally.