Daulat Khan Lodhi was the governor of Punjab during the reign of Sultan Ibrahim Lodhi. In name, he was subordinate to Sultan Ibrahim Lodhi but he was virtually acting as an independent ruler of Punjab. He won over Alam Khan Lodhi, the uncle of Ibrahim Lodhi, to his side through secret negotiations, wherein he assured Alam Khan Lodhi his help in acquiring the throne of Delhi. When Ibrahim Lodhi learnt about this secret plot, he summoned Daulat Khan Lodhi to Delhi. Daulat Khan sent his son Dilawar Khan Lodhi in his place to clarify his position. When Dilawar Khan Lodhi arrived in Delhi, Ibrahim Khan Lodhi imprisoned him. Somehow, Dilawar Khan managed to escape from the prison and reached back Lahore to join his father. Daulat Khan Lodhi invited Babur to invade India in order to take revenge upon Ibrahim Lodhi for his act.