On 18 April 1949 the Republic of Ireland Act 1948, which had been enacted by the Oireachtas, came into force. That legislation described Ireland as the Republic of Ireland but did not change the country's name. The international and diplomatic functions previously vested in or exercised by the king were now vested in the President of Ireland who finally became unambiguously the Irish head of state. Under the Commonwealth rules then in force, the declaration of a republic automatically terminated the state's membership of the British Commonwealth. Unlike India, which became a republic shortly afterwards, Ireland chose not to reapply for admittance to the Commonwealth.