Kentucky State Capitol Building

FRANKFORT, Ky. (AP) — The Kentucky House has passed a bill that would ban most abortions in the state if the U.S. Supreme Court overturns its decision legalizing the procedure nationwide.

The bill passed on a 69-20 vote Friday after a long, emotional debate. The measure now goes to the Senate. It would take effect if the landmark federal Roe v. Wade decision is overturned or the U.S. Constitution is amended to restore states’ authority to prohibit abortion.

Louisiana, Mississippi, North Dakota and South Dakota have similar laws on the books triggering abortion bans if the Roe v. Wade decision is struck down.

The Kentucky proposal would ban abortions statewide, except when the procedure is necessary to save the mother’s life.

The legislation is House Bill 148.

Related: Kentucky bill would ban most abortions if Roe v. Wade overturned