Daulat Khan Lodhi invited Babur to invade India. Daulat Khan expected that Babur would appoint him the governor of Punjab after his victory. However, Babur gave him the territory of Jalandhar and Sultanpur only. As a result, he raised the banner of revolt against Babur. It soon led to a battle between them in which Daulat Khan and his son Ghazi Khan were defeated. After that, Babur returned to Kabul after entrusting his Indian possessions to Alam Khan. The moment Babur turned his back, Daulat Khan chased out Alam Khan, who at that time, represented Babur in Punjab, and declared himself the ruler of Punjab instead. Alam Khan visited Babur at Kabul and invited him to invade India. Babur again invaded India for the fifth time in 1525 and imprisoned Daulat Khan. Daulat Khan was later pardoned but he died soon after.