The correct option is B Ibrahim Lodhi
During the reign of Sikandar Lodhi, Daulat Khan Lodhi was appointed as the governor of Lahore. Throughout his reign, Daulat Khan was loyal to him. But this changed when Sikandar's son, Ibrahim Lodhi, ascended the throne.
Unhappy with Sultan Ibrahim's attitude, Daulat was motivated to establish his independent rule.
He sought the help of Alam Khan, uncle of Ibrahim Lodhi. Alam Khan desired to rule over Delhi and hence, started conspiring with Daulat Khan Lodhi. They eventually invited Babur to attack Ibrahim Lodhi.