Two GOP-backed anti-abortion bills passed the Texas Senate on Monday — one that would prevent parents from suing doctors if their baby is born with a birth defect and another that would require doctors to make sure a fetus is deceased before performing a certain type of abortion.

Sen. Brandon Creighton’s Senate Bill 25, a “wrongful births” bill designed to prevent doctors from encouraging abortions to avoid lawsuits, passed 21-9. Creighton said without it, doctors have “an invitation to be sued for just practicing medicine” and might not want to work in the state.

“We’re talking about promoting an environment where the best physicians in America will want to practice medicine in Texas,” he said.

Opponents have argued the measure would encourage doctors to withhold information from parents about an unborn child’s disability. Sen. José Rodríguez, D-El Paso, said the legislation “seems to be about restricting and further limiting a woman’s right to exercise her choice about what she’s going to do in the case of serious defects to the fetus.”

Sen. Charles Perry’s Senate Bill 415 bans “dilation and evacuation” abortions — the most common second-trimester procedure, where doctors use surgical instruments to grasp and remove pieces of fetal tissue — while the fetus is still alive. That bill, which supporters say would end the “barbaric” practice they call “dismemberment abortions,” also passed 21-9.

Abortion rights advocates say Perry’s bill would remove the safest way to perform the procedure on a pregnant woman. Amanda Allen, senior state legislative counsel at the Center for Reproductive Rights, said in a news release that Texas lawmakers “need to abandon their crusade against women’s dignity and focus on measures that actually improve the lives and health of women and their families.”

Her organization has challenged similar measures in federal court in Louisiana, Kansas and Oklahoma, preventing them from taking effect.

This article originally appeared in The Texas Tribune at The Texas Tribune is a nonprofit, nonpartisan media organization that informs Texans — and engages with them — about public policy, politics, government and statewide issues.