Babar (also spelled Babur) was the founder and first emperor of the Mughal dynasty in India. He established the Mughal Empire in 1526 after defeating Ibrahim Lodi at the First Battle of Panipat. Akbar, Humayun, and Jahangir were all later emperors who came after Babar.