Original sentence: The system of governance lasted from 1858, when the rule of the British East India Company was transferred to the Crown in the person of Queen Victoria until 1947, when the British Indian Empire was partitioned into two sovereign states, the Union of India (later the Republic of India and the Dominion of Pakistan (later the Islamic Republic of Pakistan and the People's Republic of Bangladesh)
Edited sentence: Although Sri Lanka (then Ceylon) is peripheral to the Indian subcontinent, it is not counted part of the Raj, as it was ruled as a Crown Colony directly from London, rather than by the Viceroy of India as a part of the Indian Empire.Partition was decided upon partly to appease the political ambitions of politicians, but also because it was evident that the Muslim minority and ethnic groups in the north west regions wanted a state of their own separate from that of India.The Indian Empire came to an end in August 1947 after the partition of India resulted in the formation of two independent nations: the Dominion of India (later Republic of India) and Dominion of Pakistan (later Islamic Republic of Pakistan).The system of governance lasted from 1858, when the rule of the British East India Company was transferred to the Crown in the person of Queen Victoria (upon whom the British Parliament conferred the graciously accepted title "Empress of India" in 1877) until 1947, when pre-independence India was partitioned into two sovereign states, India and Pakistan