underpinning the 1921 treaty, from which the Free State's constitution had emerged. Executive Council President (Prime Minister) W. T. Cosgrave objected, although he promised that the Executive Council would not amend the legislation unilaterally. The other Dominions backed Cosgrave and, when an amendment to similar effect was proposed at Westminster by John Gretton, parliament duly voted it down. When the statute became law in the UK, Patrick McGilligan, the Free State Minister for External Affairs, stated: "It is a solemn declaration by the British people through their representatives in Parliament that the powers inherent in the Treaty position are what we have proclaimed them to be for the last ten years." He went on to present the statute as largely the fruit of the Free State's efforts to secure for the other Dominions the same benefits it already enjoyed under the treaty. The Statute of Westminster had the effect of granting the Irish Free State internationally recognised independence. Éamon de Valera led Fianna Fáil to victory in the Free State election of 1932 on a platform of republicanising the Free State from within. Upon taking office, De Valera began removing the monarchical elements of the Constitution, beginning with the Oath of Allegiance. De Valera initially considered invoking the Statute of Westminster in making these changes, but John J. Hearne advised him not to. Abolishing the Oath of Allegiance in effect abrogated the 1921 treaty. Generally, the British thought that this was morally objectionable but legally permitted by the Statute of Westminster. Robert Lyon Moore, a Southern Unionist from County Donegal, challenged the legality of the abolition in the Irish Free State's courts and then appealed to the Judicial Committee of the Privy Council (JCPC) in London. However, the Free State had also abolished the right of appeal to the JCPC. In 1935, the JCPC ruled that both abolitions were valid under the Statute of Westminster. The Free State, which in 1937 was renamed Ireland, left the Commonwealth in 1949 upon the coming into force of its Republic of Ireland Act. New Zealand The Parliament of New Zealand adopted the Statute of Westminster by passing its Statute of Westminster Adoption Act 1947 in November 1947. The New Zealand Constitution Amendment Act, passed the same year, empowered the New Zealand Parliament to change the constitution, but did not remove the ability of the British Parliament to legislate regarding the New Zealand constitution.