In the 18th century, Mughal power had become severely limited. By the mid-18th century, the Marathas had routed Mughal armies and invaded several Mughal provinces from the Punjab to Bengal. By this time, the dominant economic powers in the Indian subcontinent were Bengal Subah under the Nawabs of Bengal and the South Indian Kingdom of Mysore under Hyder Ali and Tipu Sultan, before the former was devastated by the Maratha invasions of Bengal, leading to the economy of the Kingdom of Mysore overtaking Bengal. The British East India Company conquered Bengal in 1757 and then Mysore in the late 18th century. The last Mughal emperor, Bahadur Shah II, had authority over only the city of Old Delhi (Shahjahanabad), before he was exiled to Burma by the British Raj after the Indian Rebellion of 1857.