Alabama Gov. Kay Ivey on Wednesday signed one of the country's most restrictive abortion bills into law. The passage of the Alabama Human Life Protection Act sparked public outrage, but the procedure remains legal in the state until the law goes into effect in six months, Vox reports.

The act bans all abortions in the state except in cases of pregnancies that pose a "serious health risk," and it classifies abortion as a Class A felony. Attempted abortions have been classified as a Class C penalty under the new law, and doctors who perform the procedure can face up to 99 years in prison. The act makes no concession for rape and incest.

There are three clinics in Alabama that perform abortions and, according to The Washington Post, each one insists it will remain open. Vox says the Alabama Women's Center and the American Civil Liberties Union of Alabama plan to challenge the bill in court.

Last week, Georgia Gov. Brian Kemp signed the "fetal heartbeat" bill into law, prohibiting abortions after a heartbeat is detected in an embryo, which generally occurs five to six weeks into a pregnancy.

Actresses Gabrielle Union and Kerry Washington are among the celebrities who have said they would refuse to film in Georgia as a form of protest if the bill were enacted.