The two self-governing countries of India and Pakistan legally came into existence at the stroke of midnight on 14–15 August 1947. The ceremonies for the transfer of power were held a day earlier in Karachi, at the time the capital of the new state of Pakistan, so that the last British Viceroy, Lord Mountbatten of Burma, could attend both the ceremony in Karachi and the ceremony in Delhi. Thus, Pakistan's Independence Day is celebrated on 14 August and India's on 15 August.