Beggs’ family has sought to have him wrestle as a boy, and some of his opponents have said he has an unfair advantage among girls because of the testosterone he is taking as a part of his transition.

The University Interscholastic League, which governs school sports in Texas, said that the state’s education code allows the use of a banned drug such as steroids if it “is prescribed by a medical practitioner for a valid medical purpose.”

About a week ago, Beggs won a regional championship after a female wrestler from a Dallas-area high school forfeited the final.

The parent of another girl who wrestles for the same Dallas-area high school had filed a lawsuit trying to block Beggs, saying his use of testosterone increases his strength, which could pose a risk to opponents.