The Eighth Amendment of the Constitution of Ireland gave "the unborn" a right to life equal to that of "the mother". In 2018, the Supreme Court ruled that the fetus' only inherent constitutionally protected right is the right to be born, overturning a High Court ruling that a fetus additionally possessed the children's rights guaranteed by Article 42A of the Constitution. On 25 May 2018, a referendum was passed which amended the Constitution by the substitution of the former provision recognising the right to life of the unborn, with one permitting the Oireachtas, the Irish Parliament, to legislate for the termination of pregnancies. This amendment took effect when it was signed into law by the President of Ireland on 18 September 2018, and abortion was governed by the Protection of Life During Pregnancy Act 2013 until it was replaced and repealed by the Health (Regulation of Termination of Pregnancy) Act 2018, which took effect on 1 January 2019.