A federal judge on Wednesday struck down a Trump administration rule that would have let medical providers opt out of participating in medical procedures based on their religious or moral objections.

The 147-page decision from the U.S. District Court in the Southern District of New York means the rule won’t take effect as expected Nov. 22.

Nineteen states and family planning groups had sued to block the Department of Health and Human Services regulation that sought to expand enforcement of protections for medical workers with moral or faith-based objections to medical procedures such as abortion, assisted suicide or sterilization at hundreds of thousands of health organizations.

The court vacated the rule in its entirety in a decision that criticized the administration for its rationale.

“The court’s finding that the rule was promulgated arbitrarily and capriciously calls into question the validity and integrity of the rulemaking venture itself,” U.S. District Judge Paul Engelmayer wrote in his decision. “Indeed, the Court has found that HHS’s stated justification for undertaking rulemaking in the first place—a purported ’significant increase’ in civilian complaints relating to the conscience provisions—was factually untrue.”