Many of Lahore's most renowned sites date from this period, and include the Badshahi Mosque, Wazir Khan Mosque, the Lahore Fort, and the Shalimar Gardens.
Mughal Emperor Humayun, his son married Hamida Banu Begum in Lahore while fleeing to Persia.
He added many important features, such as city gates and a masonry fort, built in 1037–1040 on the ruins of the previous one, which had been demolished in the fighting (as recorded by Munshi Sujan Rae Bhandari, author of the Khulasatut Tawarikh in 1695–1696).
To date there is no conclusive evidence as to when it was founded.
In 1298, 200,000 men Mongol army again conquered northern Punjab and committed atrocities then marched to Delhi but was defeated by the Delhi Sultanate.
Though Timur captured the city in 1397, he did not loot it because "it was not rich then".
In the early 16th century, Babur, a Timurid descendant of Timur and Genghis Khan from Fergana Valley (modern day Uzbekistan), swept across the Khyber Pass and founded the Mughal Empire, which ended up covering modern day Afghanistan, Pakistan, India and Bangladesh.
The Mughals were descended from Central Asian Turco-Mongols.