 The Mughals suffered a massive decline in the early 18th century after Afsharid ruler Nader Shah's invasion, an unexpected attack that demonstrated the weakness of the Mughal Empire.This provided opportunities for the powerful Mysore Kingdom, Nawabs of Bengal and Murshidabad, Maratha Empire, Sikh Empire, Nizams of Hyderabad to exercise control over large regions of the Indian subcontinent.After the Battle of Plassey, Battle of Buxar and the long Anglo-Mysore Wars, the East India Company ended up seizing control of the entire Indian subcontinent.