Indian Independence Act (July 18, 1947), legislation passed by Parliament of the United Kingdom providing for the establishment of independent India and Pakistan. It came decades into a movement for Indian independence, but the rapid partition led to unprecedented population transfer and devastating communal violence.