A federal judge blocked a city law yesterday that would have required pregnancy centers to publicly post they do not offer abortion.

The law would have taken effect today, but some pregnancy centers filed a lawsuit charging that it violated their free speech rights. U.S. District Judge William Pauley agreed, ruling that the law poses a threat to First Amendment rights.

“I”m thrilled,” said Chris Slattery, founder of Expectant Mother Care Frontline Pregnancy Centers. “He turned back New York City’s unconstitutional attack on the First and 14th amendments.”

City Council Speaker Christine Quinn, who sponsored the law, vowed to appeal the ruling, which she said “failed to protect pregnant women.”