The Indian subcontinent was divided into the dominions of Pakistan and India during the time of the British rule in 1947. This was due to profound cultural and religious differences between the two dominions, as the people from Pakistan practiced the Muslim Faith and the population from India practiced Hinduism.
This was the initial episode of a series of events that would lead to the independence of both dominions from British rule. India would achieve this in 1950 and Pakistan in 1957.