Why did British rule in India come to a end?

Every tyranny, misdeed and misrule has an end.
When India was robbed enough, her culture and history destroyed, the people or the 'subjects' humiliated and treated rudely, savagely and mercilessly, an uprising comes.
With the First War of Independence in 1857, the revolutions started.
Great Thinkers, Scholars, Nationalists, Reformers and Revolutionaries like Swami Dayanand Saraswati, Raja Ram Mohan Roy, Dada Bhoy Naroji, Bal Ganga Dhar Tilak, Shyamji Krishan Verma, Mahatma Gandhi, Bhagat Singh and Veer Sawarkar alike created millions of revulutionaries that compelled Britishers to leave India to save their lives and the loot.