Beginning on July 1, only biological girls will be allowed to participate in seventh- through 12th-grade girls’ athletic competitions in Wyoming, per a new law adopted in the state.

The legislation requires schools that participate in interscholastic sports competitions to clearly designate programs as male, female, or coed. Those designations will be based on a student’s biological sex, even if the student identifies as a different gender. The law defines sex as “the biological, physical condition of being male or female, determined by an individual’s genetics and anatomy at birth.”

When the legislation goes into effect, biological male students who identify as girls will not be allowed to participate in female-designated athletic competitions. Biological males will only be allowed to participate in male-designated or coed athletics. Biological girls will not have the same restrictions put on them and will be able to participate in any athletic competition.

“A student of the male sex shall not compete, and a public school shall not allow a student of the male sex to compete, in an athletic activity or team designated for students of the female sex,” the legislation reads.

The bill overwhelmingly passed both chambers of the Legislature, which are heavily controlled by Republicans. The bill passed the House 51-10 and the Senate 27-3. All five House Democrats and five House Republicans opposed the bill. Both Senate Democrats and one Senate Republican also opposed the bill.

Although Republican Gov. Mark Gordon allowed the legislation to become law, he did so without signing the bill. Despite objecting to the bill, the Legislature would have likely had the votes to override a veto if the governor had decided to go against it.

In a letter to Secretary of State Chuck Gray, the governor said he believed the bill was “well-meaning as a way to protect the integrity and fairness of women’s sports,” but thought it would have been better handled on a case-by-case basis because of how seldom this affects athletics in the state.

“With only four known transgender students competing in school athletics out of 91,000 students total, this seems to call for individualized considerations, where families, students, teams, and others can thoughtfully address specific circumstances rather than such a punitive, ostracizing broad-brush approach,” Gordon said in the letter.

Wyoming will be the 19th state to restrict female athletics competitions to only biologically female athletes.