Washington (CNN) A federal judge in Washington state on Thursday granted a nationwide preliminary injunction blocking the Trump administration's abortion clinic referral restriction.

The revised regulations to the Title X family planning program prohibit taxpayer-funded family planning clinics from talking about abortion with patients or referring patients to abortion providers. The administration's regulations were set to go into effect on May 3.

The Title X program serves approximately 4 million people a year, according to the Department of Health and Human Services , and clinics that don't abide by what opponents call a "gag rule" would be forced to forgo federal funding. Critics argue the regulations would affect low-income people, communities of color, the uninsured and rural residents the most.

"Today's ruling ensures that clinics across the nation can remain open and continue to provide quality, unbiased healthcare to women," Washington state Attorney General Bob Ferguson said in a news release.

"Trump's 'gag rule' would have jeopardized healthcare access to women across the country," Ferguson continued. "Title X clinics, such as Planned Parenthood, provide essential services -- now they can keep serving women while we continue to fight to keep the federal government out of the exam room."

Read More