To say the bill has been highly contentious is an understatement.
Three conservative Liberal MPs threatened to move to the crossbench over the conscience vote supported by the Premier Gladys Berejiklian and even briefly attempted to topple her leadership over the matter.
The former Minister for Women, Tanya Davies, has been one of the most vocal opponents of the bill and one of the MPs who threatened to abandon the government if "sensible amendments" were not made. On Wednesday evening it was reported that Davies was satisfied with an "agreement" that had been reached over the issue of late-term abortions.
The bill passed 59 to 31, with 19 Liberal MPs voting against it in the lower house.