<Tr> <Th_colspan="2"> Status: Spent </Th> </Tr> <P> The Indian Independence Act 1947 (1947 c. 30 (10 & 11 . Geo. 6 .)) is an Act of the Parliament of the United Kingdom that partitioned British India into the two new independent dominions of India and Pakistan . The Act received the royal assent on 18 July 1947, and Pakistan came into being on 14 August and India came into being on 15 August . </P> <P> The legislation was formulated by the government of Prime Minister Clement Attlee and the Governor General of India Lord Mountbatten, after representatives of the Indian National Congress, the Muslim League, and the Sikh community came to an agreement with the Viceroy of India, Lord Mountbatten of Burma, on what has come to be known as the 3 June Plan or Mountbatten Plan . This plan was the last plan for independence . </P> <P> The Prime Minister of the United Kingdom announced on 20 February 1947 that: </P>

Who was the president of britain when india got independence