Mississippi Gov. Phil Bryant on Wednesday signed legislation banning abortions beyond  20 weeks gestation. The bill takes effect July 1.

“Medical research shows that an unborn child can feel pain by not later than 20 weeks gestation, and research also shows that the risk of death and complications from an abortion increases significantly as a pregnancy progresses,” said Bryant in a statement.

The bill does not apply when carrying a pregnancy to term would threaten the health or life of the mother or in cases where the unborn child is determined to suffer from fetal abnormalities so great that life outside the womb is not viable. It does not include exemptions for rape or incest.

Abortion activists slammed Bryant and the legislation.