Story highlights O'Connor said the protections violated the Administrative Procedure Act.

The healthcare act was passed in 2010, but its provisions have been phased in incrementally.

Washington (CNN) A federal judge halted protections for transgender individuals that were found in the Affordable Care Act, issuing the injunction just a day before the safeguards would go into effect.

US District Judge Reed O'Connor in Texas halted the protections for their treatments and for abortion-related services, siding with the state of Texas against the Obama administration on Saturday.

"Plaintiffs claim the Rule's interpretation of sex discrimination pressures doctors to deliver healthcare in a manner that violates their religious freedom and thwarts their independent medical judgment and will require burdensome changes to their health insurance plans on January 1, 2017," O'Connor wrote. "Plaintiffs argue the new regulation will require them to perform and provide insurance coverage for gender transitions and abortions, regardless of their contrary religious beliefs or medical judgment."

O'Connor said the protections violated the Administrative Procedure Act.

White House spokeswoman Katie Hill described the judge's decision as a "setback."

Read More