The Democratic-majority New York state legislature announced Tuesday that it has passed a bill that would allow legal protections for doctors who prescribe and ship abortion pills to other states.

The bill must be signed off by the state’s governor, Catherine Hokal, who has already said she favors legal protections for doctors.

“We have a moral obligation to help women across the country preserve their bodily freedoms by protecting New York State doctors from the challenges of anti-abortion extremists,” State House Speaker Carl Heastie said in a statement.

Specifically, the bill allows the provision of legal protection to doctors based in the state of New York in the event that they are prosecuted by the courts of other states that have imposed restrictions or have banned abortions for helping a woman obtain an abortion or by sending her pills or by offering her help via telemedicine.

A year after the US Supreme Court’s historic ruling overturned a 1973 ruling that protected women’s right to abortion at the federal level, each state is free to legislate on the matter.

The US is now divided, with about 20 states — mostly in the center and south — having banned or severely restricting abortion and states on the east and west coasts of the country adopting new guarantees for women’s abortion rights. .