<Tr> <Th> Royal assent </Th> <Td> 18 July 1947 </Td> </Tr> <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 Lord Mountbatten on what has come to be known as the 3 June Plan or Mountbatten Plan . This plan was the last plan for independence . </P>

When did the british parliament pass the indian independence bill