Query: Babur was the last Mughal emperor.

Relevant passages:
Babur <=SEP=> Babur ( -LSB- بابر , lit = Tiger , translit = Bābur -RSB- 14 February 148326 December 1530 ) , born Ẓahīr-ud-Dīn Muḥammad ( -LSB- ظهیرالدین محمد , translit = Ẓahīr ad-Dīn Muḥammad -RSB- ) , was a conqueror from Central Asia who , following a series of setbacks , finally succeeded in laying the basis for the Mughal dynasty in the Indian subcontinent and became the first Mughal emperor . He was a direct descendant of Turco-Mongol conqueror Timur ( Tamurlane ) from the Barlas clan , through his father , and also a descendant of Genghis Khan through his mother . He was also influenced by the Persian culture and this affected both his own actions and those of his successors , giving rise to a significant expansion of the Persianate ethos in the Indian subcontinent .   Babur was the eldest son of Umar Sheikh Mirza . He ascended the throne of Fergana in 1495 at the age of twelve and faced rebellion from his own relatives . He conquered Samarkand two years later , only to lose the city of Fergana soon after . In his attempt to reconquer Fergana , he lost control of Samarkand . In 1501 , his attempt to recapture both cities went in vain as he was defeated by Muhammad Shaybani Khan . In 1504 , he conquered Kabul , which was under the rule of the infant heir of Ulugh Begh . Babur formed a partnership with Safavid ruler Ismail I and reconquered parts of central Asia , including Samarkand , only to again lose it and the other newly conquered lands to the Uzbeks .   After losing Samarkand for the third time , Babur turned his attention to creating his empire in north India . At that time , the Indo-Gangetic Plain of the northern Indian Subcontinent was ruled by Ibrahim Lodi of the Afghan Lodi dynasty , whereas Rajputana was ruled by a Hindu Rajput Confederacy , led by Rana Sanga of Mewar . In 1524 , Daulat Khan Lodi , a rebel of the Lodhi dynasty , invited Babur to overthrow Ibrahim and become ruler . Babur defeated Ibrahim Lodi at the First Battle of Panipat in 1526 and founded the Mughal empire . However , he again faced opposition , this time from Rana Sanga of Mewar who considered Babur a foreigner . The Rana was defeated at the Battle of Khanwa .   Babur married several times . Notable among his sons are Humayun , Kamran Mirza and Hindal Mirza . Babur died in 1530 and was succeeded by Humayun . According to Babur 's wishes , he was buried in Bagh-e-Babur in Kabul , Afghanistan . Being a patrilineal descendant of Timur , Babur considered himself a Timurid and Turk , though Uzbek sources claim him as an ethnic Uzbek . He is considered a national hero in Uzbekistan and Kyrgyzstan . Many of his poems also have become popular folk songs . He wrote his autobiography , Baburnama , in Chaghatai Turkic and this was translated into Persian during Akbar 's reign .

Mughal Empire <=SEP=> The Mughal Empire or Mogul Empire , self-designated as Gurkani ( گورکانیان , Gūrkāniyān , meaning `` son-in-law '' ) , 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 ( 1526 ) . The Mughal emperors were Central Asian Turco-Mongols belonging to the Timurid dynasty , who claimed direct descent from both Genghis Khan ( founder of the Mongol Empire , through his son Chagatai Khan ) and Timur ( Turco-Mongol conqueror who founded the Timurid Empire ) . 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 ( 1.2 million square miles ) , 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 .