The British government ruled the Indian subcontinent directly from 1858 to 1947
The British Raj (rāj means "rule" in Hindustani) was the period when the British government ruled the Indian subcontinent directly from 1858 to 1947. This territory included modern India, Pakistan, Bangladesh, and for many years, Myanmar (then called Burma). The population of the Raj reached 255 million according to the first census taken in 1881.
Before 1858, the British government did not rule India directly. Instead, for a century, a private trading corporation called the East India Company governed large parts of the subcontinent with its own private army. Company rule ended because of a massive uprising:
1. The East India Company annexed Indian kingdoms, collected high land taxes, and introduced social changes that angered many Indians.
2. In 1857, Indian soldiers in the Company's army mutinied. Local rulers and peasants joined them across northern and central India in the Indian Rebellion of 1857.
3. It took more than a year of brutal fighting for British forces to stop the rebellion.
4. The British Parliament decided that a private company could not be trusted to govern so much territory and so many people.
In 1858, Parliament passed the Government of India Act 1858. This law took away the East India Company's power and transferred rule to the British Crown, a system instituted on 28 June 1858. In 1876, Queen Victoria took the additional title of Empress of India.
Fact-checked against British Raj on Wikipedia
Part of the History syllabus: High Imperialism and Nation-States
See it on the timeline of High Imperialism and Nation-States