A Washington state judge on Thursday blocked a voter-backed ban on transgender athletes competing in girls’ school sports — pausing its enforcement on the day it was to take effect.

Judge Maureen McKee said she was issuing a preliminary injunction to prevent the ban’s enforcement because the group of parents, teachers and transgender-rights activists who sued to overturn it were likely to prevail on all three of their constitutional challenges.

Washington residents approved the ban, Initiative 683, with a vote of 56% last month. The state, which has voted for Democratic presidents every cycle since 1988, joined three others — including Colorado, another reliably blue state — in passing measures restricting transgender girls from sports in the recent elections.

Several other states already had laws restricting transgender athletes, whose legality the Supreme Court upheld earlier this year.

The Washington ban stands out, thought, because it requires girls who play on a school team to submit a medical form verifying their “biological sex” based on one or more of the following: “the student’s reproductive anatomy, genetic makeup, or normal endogenously produced testosterone levels.”

The plaintiffs had argued those requirements were unnecessarily intrusive, medically dubious and violated the state constitution, including its Equal Rights Amendment. The law’s supporters said it was designed to protect girls from unfair competition; it places no restrictions on transgender athletes playing on boys’ teams, however.

McKee wrote that the plaintiffs had demonstrated “a clear and equitable right to be free from sex discrimination, right to be free from invasion of privacy” and the process set out in the state constitution for amending existing laws.

“They have a well-grounded fear that these rights will be invaded by the terms of the Initiative, and that this would result in actual or substantial injury,” McKee added.

Her ruling temporarily prevents the state from enforcing the ban while the legal fight plays out. For now, the state’s existing eligibility rules on sports, which have been in place since 2007, will remain in effect.

The American Civil Liberties Union of Washington, which was representing plaintiffs in the suit seeking to block the measure, celebrated the judge’s ruling, while calling their work “far from over.”

“This is welcome news for girls throughout Washington who have been unjustly targeted by this law, in particular transgender girls who have been the target of the law’s discriminatory purpose,” Adrien Leavitt, a staff attorney for the ACLU of Washington, said in a news release.