Claim: The Mughal Empire's territory was in a country.

The Mughal Empire or Mogul Empire , self-designated as Gurkani -LRB- گورکانیان , Gūrkāniyān , meaning `` son-in-law '' -RRB- , was an empire in the Indian subcontinent , established and ruled by a Muslim Turkic dynasty of Chagatai origin from Central Asia . The dynasty , though ethnically Turco-Mongol , was Persianate in culture , with local influences visible in its traits and customs . The Mughal empire extended over large parts of the Indian subcontinent and Afghanistan . The empire at its peak was the second largest to have existed in the Indian subcontinent , spanning 4 million square kilometres at its zenith after the Maurya Empire which spanned 5 million square kilometres .   The beginning of the empire is conventionally dated to the victory by its founder Babur over Ibrahim Lodi , the last ruler of the Delhi Sultanate , in the First Battle of Panipat -LRB- 1526 -RRB- . The Mughal emperors were Central Asian Turco-Mongols belonging to the Timurid dynasty , who claimed direct descent from both Genghis Khan -LRB- founder of the Mongol Empire , through his son Chagatai Khan -RRB- and Timur -LRB- Turco-Mongol conqueror who founded the Timurid Empire -RRB- . During the reign of Humayun , the successor of Babur , the empire was briefly interrupted by the Sur Empire . The `` classic period '' of the Mughal Empire started in 1556 with the ascension of Akbar the Great to the throne . Under the rule of Akbar and his son Jahangir , the region enjoyed economic progress as well as religious harmony , and the monarchs were interested in local religious and cultural traditions . Akbar was a successful warrior who also forged alliances with several Hindu Rajput kingdoms . Some Rajput kingdoms continued to pose a significant threat to the Mughal dominance of northwestern India , but most of them were subdued by Akbar . All Mughal emperors were Muslims ; while Akbar was Muslim most of his life , he propounded a syncretic religion in the latter part of his life called Dīn-i Ilāhī , as recorded in historical books like Ain-i-Akbari and Dabistān-i Mazāhib .   The Mughal Empire did not try to intervene in the local societies during most of its existence , but rather balanced and pacified them through new administrative practices and diverse and inclusive ruling elites , leading to more systematic , centralised , and uniform rule . Traditional and newly coherent social groups in northern and western India , such as the Marathas , the Rajputs , the Pashtuns , the Hindu Jats and the Sikhs , gained military and governing ambitions during Mughal rule , which , through collaboration or adversity , gave them both recognition and military experience .   The reign of Shah Jahan , the fifth emperor , between 1628 and 1658 was the golden age of Mughal architecture . He erected several large monuments , the best known of which is the Taj Mahal at Agra , as well as the Moti Masjid , Agra , the Red Fort , the Jama Masjid , Delhi , and the Lahore Fort . The Mughal Empire reached the zenith of its territorial expanse during the reign of Aurangzeb and also started its terminal decline in his reign due to Maratha military resurgence under Shivaji Bhosale . During his lifetime , victories in the south expanded the Mughal Empire to more than 3.2 million square kilometres -LRB- 1.2 million square miles -RRB- , ruling over more than 150 million subjects , nearly one quarter of the world 's population at the time , with a combined GDP of over $ 90 billion .   By the mid-18th century , the Marathas had routed Mughal armies and won over several Mughal provinces from the Punjab to Bengal . Internal dissatisfaction arose due to the weakness of the empire 's administrative and economic systems , leading to its break-up and declarations of independence of its former provinces by the Nawab of Bengal , the Nawab of Awadh , the Nizam of Hyderabad and other small states . In 1739 , the Mughals were crushingly defeated in the Battle of Karnal by the forces of Nader Shah , the founder of the Afsharid dynasty in Persia , and Delhi was sacked and looted , drastically accelerating their decline . During the following century Mughal power had become severely limited , and the last emperor , Bahadur Shah II , had authority over only the city of Shahjahanabad . He issued a firman supporting the Indian Rebellion of 1857 and following the defeat was therefore tried by the British East India Company for treason , imprisoned and exiled to Rangoon . The last remnants of the empire were formally taken over by the British , and the Government of India Act 1858 let the British Crown formally assume direct control of India in the form of the new British Raj .