Federal judge blocks Alabama's tough abortion law

A federal judge blocked an Alabama abortion ban Tuesday that would have made the procedure a felony at any stage of pregnancy in almost all cases.

U.S. District Judge Myron Thompson issued a preliminary injunction blocking Alabama from enforcing the law, which would have called for a sentence of 10 years to life in prison for the abortion provider with no exceptions for rape or incest.

Alabama legislators approved the measure this year, hoping to mount a court challenge to abortion rights. Abortion providers sued to stop the law from going into effect.

Protesters participate in a rally against one of the nation's most restrictive bans on abortions on May 19, 2019 in Montgomery, Alabama. (Photo by Julie Bennett/Getty Images)

Randall Marshall, executive director of the American Civil Liberties Union, said the decision was expected.

The law was set to take effect next month and is the most hardline of the anti-abortion measures enacted this year as states emboldened by the new conservatives on the U.S. Supreme Court take aim at Roe v. Wade, the 1973 ruling that legalized abortion nationwide.

RELATED: Federal judge issues injunction against Georgia's abortion law