Correct option is B
The formal end of the Mughal Empire came in 1858, after the failure of the Revolt of 1857, when the last Mughal emperor,
• Bahadur Shah Zafar was the symbolic leader of the 1857 Revolt, though he held little actual power.
• The Mughal dynasty began with Babur in 1526 and ended with Bahadur Shah Zafar.
• Government of India Act, 1858 transferred power from East India Company to the British Crown.
• The title "Emperor of India" was assumed by Queen Victoria in 1876.
• The signing of the Treaty of Lahore – This was signed in 1846 after the First Anglo-Sikh War.
• The British annexation of Bengal – Happened in 1757 after the Battle of Plassey.