Ibrahim Lodhi was the last ruler of Lodhi dynasty. He ruled from 1517 A.D. to 1526 A.D. He wanted to make his central administration very powerful. But he was not liked by Afghan Chiefs and they created many difficulties for him. Infact, Ibrahim Lodhi was not a farsighted Sultan. He could make friendly relations with his Amirs, but he made them his enemies because of his egoistic behavior. As a result, they started revolts against Delhi Sultanate. In 1526 A.D., Ibrahim Lodhi was killed while fighting against Babar in the first battle of Panipat.