With the stroke of her pen, Gov. Gretchen Whitmer repealed an unenforceable Michigan law Wednesday that makes it a felony to administer most abortions with no exception for rape or incest.

For decades, the 1973 U.S. Supreme Court’s Roe v. Wade decision guaranteed a national right to abortion. But when the court overturned that decision, a Michigan Court of Claims judge issued an order temporarily blocking Michigan’s abortion ban to ensure continued legal access to the procedure in the state.

Michigan voters ultimately took up the matter directly during last year’s midterm when they embraced an amendment to the state’s constitution to enshrine an explicit right to seek abortions.

While the constitutional amendment means the 1931 abortion ban is no longer in effect, Democratic lawmakers still wanted to repeal it.

“Today, we’re going to take action to ensure that our statutes, our laws reflect our values and our constitution,” Whitmer said in front of a wall of pink signs reading “bans off our bodies” at a bill signing ceremony packed with Democrats and abortion rights advocates.

“This is a long overdue step,” she said.

House Bill 4006 repeals two Michigan laws: one that makes it a felony to administer an abortion to a pregnant woman unless “necessary to preserve the life of such woman” and another that makes it a misdemeanor to sell or advertise medication for an abortion.

It passed with the support of every Democratic lawmaker and two Republicans in the state House: state Reps. Thomas Kuhn of Troy and Donni Steele of Orion Township. Most Republicans voted against it, and Right to Life of Michigan derided Whitmer in a statement for celebrating the repeal of the state’s abortion ban.

Nicole Wells Stallworth, the executive director of Planned Parenthood Advocates of Michigan, celebrated the bill signing. Just a year ago, she said she feared for the future of abortion access in the state in anticipation of a U.S. Supreme Court decision overturning Roe.

“And now, abortion providers will no longer have to fear that they will be criminalized for doing their jobs,” she said.