An accused murderer was spared an abortion charge in the deadly stabbing of his pregnant girlfriend because of New York's new abortion law, according to the New York Post.

As Fox News reported, the Reproductive Health Act -- which was signed last month by Gov. Andrew Cuomo (D) -- legalizes abortion up until birth in many cases.

Anthony Hobson's second-degree abortion charge, according to the Post, was dropped because abortion was removed from New York State's criminal code.

Police said that the 48-year-old surrendered Friday and was charged in the murder of Jennifer Irigoyen and her unborn child.

'They're Not Sending Their Best': Shapiro Mocks AOC, Dems' 'Green New Deal'

A spokeswoman for Queens District Attorney Richard A. Brown reportedly told the Post that Hobson's abortion charge "was repealed by the Legislature, and this is the law as it exists today."

The Reproductive Health Act, which Gov. Cuomo called "a historic victory for New Yorkers and for our progressive values," drew widespread criticism after it was signed.

A bishop in Albany even called out the governor in an open letter for citing his Catholic faith days before signing the controversial legislation.

'She Got Caught in a Lie': GOP Rep-Cherokee Nation Member Says Warren Should Drop 2020 Bid

'Totally Unrealistic': Wallace Says Pelosi, Top Dems Just 'Paying Lip Service' to AOC's Green New Deal

Webb: VA Controversies Show Dems Are Caught in Their Own 'Impossible Standard'