New Texas abortion restrictions that would have affected more than a dozen clinics were thrown out by a federal judge on Friday, The Associated Press reported.

U.S. District Judge Lee Yeakel sided with clinics that sued over a sweeping anti-abortion bill signed by Republican Gov. Rick Perry last year, the AP reported.

The halted restrictions would have left seven abortion facilities in Texas by Sept. 1, the wire service said. There are currently 19 abortion providers in Texas.

"The overall effect of the provisions is to create an impermissible obstacle as applied to all women seeking a previability abortion," AP said Yeakel wrote in his 21-page ruling.

The law would have required abortion facilities in Texas to meet hospital-level operating standards, which supporters say will protect women's health, AP said.

But clinics called it a backdoor effort to outlaw abortions, which have been a constitutional right since the Roe v. Wade ruling by the U.S. Supreme Court in 1973, AP reported.