FILE - In this March 14, 2019, file photo, the House Representatives are shown on the last day of the 2019 Utah legislative session, at the Utah State Capitol. Utah Gov. Gary Herbert has signed a law banning most abortions after 18 weeks of gestation, setting the stage for a legal showdown. (Trent Nelson/The Salt Lake Tribune via AP, File)

FILE - In this March 14, 2019, file photo, the House Representatives are shown on the last day of the 2019 Utah legislative session, at the Utah State Capitol. Utah Gov. Gary Herbert has signed a law banning most abortions after 18 weeks of gestation, setting the stage for a legal showdown. (Trent Nelson/The Salt Lake Tribune via AP, File)

SALT LAKE CITY (AP) — Utah Gov. Gary Herbert has signed a law banning most abortions after 18 weeks of gestation, setting the stage for a legal showdown.

Though the Republican governor said the measure signed late Monday strikes a balance, opponents said it is unconstitutional and promised to sue. The law is expected to take effect in May.

The American Civil Liberties Union of Utah pointed to the U.S. Supreme Court’s longtime holding that states cannot ban abortion before the fetus is viable outside the womb, usually at about 23 weeks.

The ban adds to a long list of abortion restrictions in Utah, including a 72-hour waiting period and an in-person informed consent session, Planned Parenthood of Utah said.

ADVERTISEMENT

“This 18-week ban is clearly unconstitutional and part of a broader agenda to ban abortion one law at a time,” president Karrie Galloway said in a statement.

The law comes as abortion opponents across the country are emboldened by President Donald Trump’s appointment of conservative U.S. Supreme Court justices and seek cases to challenge Roe v. Wade, the court’s 1973 ruling that legalized abortion nationwide.

Republican Arkansas Gov. Asa Hutchinson has also signed an 18-week ban, and several other states have considered or passed proposals to ban abortion much earlier, once a fetal heartbeat can be found.

In Utah, Herbert’s spokesman Paul Edwards said he’s against abortion, and believes lawmakers set an appropriate threshold for respecting a woman’s right to choose while “protecting the unborn.”

The measure allows some exceptions, including cases of rape, fatal fetal deformity or serious detriment to the mother’s health.

Herbert has said he is not worried about the potential cost of a lawsuit, estimated at about $2 million if the state loses.

The sponsor of the measure, Republican Rep. Cheryl Acton, has said she sponsored it to reduce the number of second-trimester abortions that “shock the conscience.”

Herbert also signed into law this year a measure banning abortion if the only reason is a fetal diagnosis of Down syndrome. The law contains a so-called trigger clause and wouldn’t go into effect unless a similar measure is upheld elsewhere.