The law came about in response to the Supreme Court overturning Roe v. Wade, which called other landmark civil liberties cases into question.