Des Moines, IA (Radio Iowa)– It took the better part of fifteen hours in special session on Tuesday, but Republican-led Iowa legislature passed a ban on most abortions in the state.

The bill is almost identical to the one approved five years ago with most abortions not being allowed after about six weeks of pregnancy when cardiac activity can first be detected.

There are exceptions in the legislation for certain medical conditions and for victims of rape an incest.

The special session came to be after the Iowa Supreme Court recently ended up deadlocked on a request to lift an injunction that has kept the 2018 law from taking effect.

Republican Representative Shannon Lundgren of Peosta was the bill’s floor manager in 2018 and again on Tuesday.

The bill passed by a 32 to 17 vote in Senate and 56 to 34 in the House. Senator Molly Donahue, a Democrat from Cedar Rapids, says the bill will force women to make difficult choices.

Governor Kim Reynolds plans to sign the bill into law on Friday. Officials with Planned Parenthood say they intend to challenge the law in court so there may be another drawn out legal battle before the final fate of the legislation is known.