Sikandar Lodi was succeeded by his eldest son Ibrahim Lodi who was arrogant. He insulted his nobles openly in court and humiliated them. Greatly displeased by the arrogance of Ibrahim, Daulat Khan Lodi invited Babur to invade India. Babur marched against Delhi and defeated and killed Ibrahim Lodi in the first battle of Panipat (1526).