 The modern city gained prominence during the reign of Babur, founder of the Mughal Empire.Babur had chosen the site for this city which was built by his grandson Jalal-uddin Mohammad Akbar in 1560.It remained part of the Mughal Empire until around 1738 when Nader Shah and his Afsharid forces from Khorasan began defeating the Mughals.