New York can continue to require companies with health insurance plans to cover medically necessary abortions, the state’s highest court ruled Tuesday.

The Roman Catholic Diocese of Albany and other religious groups argued that the rule violated their religious freedoms.

State financial regulators approved the policy in 2017. The state Legislature then separately codified the abortion coverage regulation into law in 2022. The religious groups sued over the regulation, not the law.

The Court of Appeals case had larger significance because the state's law could be challenged using a similar legal argument, if the religious groups were successful.

“While right-wing extremists attempt to undermine our fundamental freedoms, New York will continue standing strong to protect women's health care and safeguard abortion rights," Gov. Kathy Hochul said in a statement. "The Court of Appeals' unanimous ruling to uphold New York's nation-leading regulations for insurance coverage of abortion care is a critical step towards protecting these fundamental freedoms. As Governor, I'm committed to ensuring New York continues to be a safe harbor for anyone who needs abortion care.”

Dennis Poust, executive director of the New York State Catholic Conference, said he expects an appeal to the U.S. Supreme Court.

“We continue to believe that the regulatory action by the state, as well as subsequent legislative action, requiring religious organizations to provide and pay for coverage of abortion in its employee health plans is unconstitutional and unjust,” he said in a statement.