<Table> <Tr> <Td_colspan="3"> Mughal Empire </Td> </Tr> <Tr> <Td_colspan="3"> گورکانیان (Persian) Gūrkāniyān مغلیہ سلطنت ‬ (Urdu) Mug̱liyah Salṭanat </Td> </Tr> <Tr> <Td_colspan="3"> <Table> <Tr> <Td> </Td> <Td> <Ul> <Li> 1526--1540 </Li> <Li> 1555--1857 </Li> </Ul> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="3"> The empire at its greatest extent, in the late 17th and early 18th centuries </Td> </Tr> <Tr> <Td_colspan="2"> Capital </Td> <Td> <Ul> <Li> Agra (1526--1540; 1555--1571; 1598--1648) </Li> <Li> Fatehpur Sikri (1571--1585) </Li> <Li> Lahore (May 1586--1598) </Li> <Li> Shahjahanabad, Delhi (1648--1857) </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> Languages </Td> <Td> <Ul> <Li> Persian (official and court language) </Li> <Li> Arabic (for religious ceremonies) </Li> <Li> Chagatai Turkic (only initially) </Li> <Li> Urdu (Language of the elite, later made official) </Li> <Li> Other South Asian languages </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> Religion </Td> <Td> <Ul> <Li> Sunni Islam (1526--1857) </Li> <Li> Din - i Ilahi (1582--1605) </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> Government </Td> <Td> Absolute monarchy, unitary state with federal structure, centralized autarchy </Td> </Tr> <Tr> <Td_colspan="2"> Emperor </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> 1526--1530 </Td> <Td> Babur (first) </Td> </Tr> <Tr> <Td> </Td> <Td> 1837--1857 </Td> <Td> Bahadur Shah II (last) </Td> </Tr> <Tr> <Td_colspan="2"> Historical era </Td> <Td> Early modern </Td> </Tr> <Tr> <Td> </Td> <Td> First Battle of Panipat </Td> <Td> 21 April 1526 </Td> </Tr> <Tr> <Td> </Td> <Td> Empire interrupted by Sur Empire </Td> <Td> 1540--1555 </Td> </Tr> <Tr> <Td> </Td> <Td> Death of Aurangzeb </Td> <Td> 3 March 1707 </Td> </Tr> <Tr> <Td> </Td> <Td> Siege of Delhi </Td> <Td> 21 September 1857 </Td> </Tr> <Tr> <Td_colspan="3"> Area </Td> </Tr> <Tr> <Td> </Td> <Td> 1690 </Td> <Td> 4,000,000 km (1,500,000 sq mi) </Td> </Tr> <Tr> <Td_colspan="3"> Population </Td> </Tr> <Tr> <Td> </Td> <Td> 1700 est . </Td> <Td> 158,400,000 </Td> </Tr> <Tr> <Td_colspan="2"> Currency </Td> <Td> Rupee, dam </Td> </Tr> <Tr> <Td_colspan="3"> <Table> <Tr> <Td> Preceded by </Td> <Td> Succeeded by </Td> </Tr> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> Timurid Empire </Td> </Tr> <Tr> <Td> </Td> <Td> Delhi Sultanate </Td> </Tr> <Tr> <Td> </Td> <Td> Rajput states </Td> </Tr> <Tr> <Td> </Td> <Td> Bengal Sultanate </Td> </Tr> <Tr> <Td> </Td> <Td> Deccan sultanates </Td> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> Maratha Empire </Td> <Td> </Td> </Tr> <Tr> <Td> Bengal Subah </Td> <Td> </Td> </Tr> <Tr> <Td> Durrani Empire </Td> <Td> </Td> </Tr> <Tr> <Td> Sikh Confederacy </Td> <Td> </Td> </Tr> <Tr> <Td> Company rule in India </Td> <Td> </Td> </Tr> <Tr> <Td> British Raj </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Td_colspan="3"> Mughal Empire </Td> </Tr>

When did the mughal rule come to an end