The British Prime Minister Lord Attlee declared on 20th February, 1947 that the British government will free India by 30th June 1948 A.D. Lord Mountbatten came to India as new Viceroy on 22nd March 1947 A.D. He started discussions with the Congress leaders. He declared that India will be made free but it will be divided into two parts— India and Pakistan. Congress accepted this division because it wanted to stop bloodshed and violence in the country.
The British Parliament passed ‘Indian Independence Act’ on 18th July 1947 A.D. As a result, the British rule in India came to an end on 15 August 1947 A.D. and India became free. But India was divided into two parts i.e. India and Pakistan.