AUSTIN, Texas — A judge has upheld a Texas policy that required a transgender boy taking testosterone to compete in the girls' wrestling tournament, where he won a state title.

RELATED | Transgender Wrestler Opens Up About Testosterone Usage at Texas Tournament

A doctor administered the testosterone as part of Mack Beggs' gender transition. The Dallas Morning News reports that a Travis County judge dismissed an attorney's lawsuit that sought to bar the Euless Trinity wrestler from competing.

The University Interscholastic League, which creates rules for school athletics in Texas, generally bars players from taking testosterone. But it made an exception for Beggs.

The organization also compels athletes to compete as the gender specified on their birth certificates. That meant Beggs had to compete in girls' events. Beggs has said he would compete against boys if allowed.

Attorney Jim Baudhuin alleged Beggs had an unfair strength advantage. Baudhuin hasn't decided whether to appeal.

CONTINUING COVERAGE: