This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

(The Hill) — A Texas judge on Friday issued an injunction halting the state’s investigation into parents who provide transgender youth with puberty blockers or gender-affirming care.

Judge Amy Meachum of the District Court of Travis County ruled that the investigation ordered by Gov. Greg Abbott (R) might not hold up in court and thus should be stopped for the interim, according to the Texas Tribune.

Meachum said Abbott’s investigation went “beyond the scope of his duty.”

The injunction means the Texas Department of Family and Protective Services cannot continue to investigate parents who provide gender-affirming care or puberty blockers to their transgender children while the case proceeds.

The case is scheduled for July, according to the Tribune.

Attorney General Ken Paxton (R), who last month issued a nonbinding legal opinion arguing he believes gender-affirming care and puberty blockers for transgender teens amounted to “child abuse,” said he plans to appeal the injunction.

“Democrat judge tries to halt legal and necessary investigations into those trying to abuse our kids through ‘trans’ surgeries and prescription drugs,” Paxton wrote on Twitter. “I’m appealing. I’ll win this fight to protect our Texas children.”

Shortly after Paxton issued his legal opinion last month, Abbott ordered the state to investigate “any reported instances of these abusive procedures” in Texas.

The American Civil Liberties Union (ACLU) of Texas and Lambda Legal sued the state on behalf of the mother of a 16-year-old transgender youth who says she was investigated by the Department of Family and Protective Services.

The court last week halted the investigation and said it would consider whether to block it more broadly.

Paxton appealed, but the court on Wednesday ruled in favor of the ACLU and Lambda Legal and allowed the case to proceed.