Gov. Rick Perry has signed into law new stricter abortion regulations. Among other things, the law will ban abortion after 20 weeks and require upgrades to existing abortion clinics.

Clinics have until September of 2014 to transform their operations into surgical centers. Opponents say the expensive upgrades, along with a component of the bill requiring doctors to have admitting privileges at a nearby hospital, will force all but five of the state’s 42 existing clinics to close.

Supporters of the legislation have maintained that the regulations will help improve safety and women’s health. “This is an important day for those who support life and for those who support the health of Texas women,” said Gov. Perry.

The abortion legislation has sparked weeks of protests at the State Capitol. Lawmakers failed to pass the bill during the first special session. Sen. Wendy Davis’ 11 hour filibuster and outbursts from the Senate gallery pushed the vote past the midnight deadline. Republicans were able to easily push the through legislation last week. The law officially takes effect in October.