Answer
In the year 1858, Bahadur Shah Zafar, the last Mughal emperor of India, was deposed by the British East India Company after the Indian Rebellion of 1857, also known as the First War of Independence. This marked the end of the Mughal Empire, which had ruled over much of the Indian subcontinent for over three centuries.