An appeals court has overturned the decision of a federal judge who blocked parts of a controversial abortion bill.

A three-judge panel of the 5th Circuit Court of Appeals issued the ruling Thursday night, allowing the law requiring doctors to have admitting privileges at nearby hospitals to take effect while a lawsuit over the restriction continues.

The ruling comes just three days after District Judge Lee Yeakel ruled that the same provision serves no medical purpose. Planned Parenthood and other abortion providers had argued that the regulations were unconstitutional, and sought to have them delayed through a temporary injunction.

Instead, the new requirements will likely go into effect immediately.