Under section 58 of the Offences against the Person Act 1861, unlawfully attempting to procure a miscarriage was a crime punishable by up to life imprisonment. A 1983 amendment to the 1937 Constitution guaranteed to vindicate the "right to life of the unborn" with due regard for "the equal right to life of the mother". Proponents of the amendment believed that it would guarantee abortion could never be allowed in any circumstances. However, in 1992 the Supreme Court ruled in "Attorney General v. X" that abortion was permitted where pregnancy presented "a real and substantial risk to the life, as distinct from the health, of the mother", including where the risk was through suicide. There were two attempts to amend the Constitution to explicitly rule out suicide as grounds for abortion. These were rejected at referendums in 1992 and in 2002; some no-voters felt the restriction was too strong and others that it was not strong enough. No legislation was passed to amend the 1861 Act in the light of the 1992 judgment.