A federal court has struck down a Texas law that prohibited drag shows with minors in attendance, declaring that the law is an unconstitutional restriction on free speech.

The 87-year-old Judge David Hittner, an appointee of President Ronald Reagan, issued the ruling on Tuesday after a years-long battle undertaken by Texas Attorney General Ken Paxton to protect the state’s children from what are considered by Texas officials to be “sexually oriented performances.” Hittner says that, while some performances may be considered "in some sense erotic," the acts do not amount to nudity or sexual content.

“For those who find such activities as described in this case offensive, the solution is relatively simple…just don’t go,” wrote Hittner in the decision.

Texas Governor Greg Abbott signed the bill into law in 2023, where it was quickly targeted by national groups for a suit. Hittner issued a temporary restraining order on the new law in August of that year, but his decision was appealed by Paxton’s office. The Fifth Circuit Court of Appeals vacated the decision and punted the case back to Hittner, who once again ruled against Texas, according to the Texan.

Paxton announced his that he would appeal the ruling shortly after the decision was handed down, calling it "an affront to Texas values."

The ruling strikes a major blow to social conservatives in Texas who fought for years to bring an end to the practice of drag shows hosted for minors.