The India Independence Act of 1947 established the independence of India and Pakistan from British rule. It created the two new independent dominions of India and Pakistan, with India comprising most of British India except for certain provinces divided into Pakistan. The Act established that both dominions would be fully independent and have their own legislatures and governor-generals appointed by the King. It outlined that British rule over India would officially end on August 15, 1947 and transferred governing responsibilities to the new Indian and Pakistani governments.