Although the Mughal dynasty ruled over most of the Indian subcontinent from the 16th century onwards, they simply used the title "badshah" (considered in the West to be the same as "emperor"). However dring the Indian rebellion of 1857 against the British, the rebel sepoys seized Delhi and called the Mughal Bahadur Shah II as "Badshah-i Hind," or Emperor of India. After the Brtish defeated the rebels, he was captured and was forced to live in Rangoon, Burma in 1858, this ended the rule of the Mughals.