Babur defeated Ibrahim Lodi in the First Battle of Panipat in 1526, establishing the Mughal Empire in India. Akbar and Humayun were Babur's descendants who ruled later, while Jehangir was Akbar's son. The battle marked the beginning of Mughal rule in the Indian subcontinent.