Ibrahim Lodi was the last ruler of the Lodi dynasty and the final Sultan of the Delhi Sultanate. His harsh treatment of nobles created internal rebellions, weakening the empire. In 1526, he was defeated by Babur in the First Battle of Panipat, ending the Lodi rule and paving the way for the Mughal Empire in India. ANSWER: (B) Ibrahim Lodi