Babur (also spelled Babar) founded the Mughal Empire in 1526 after defeating Ibrahim Lodi in the First Battle of Panipat. Mohammad Ghori, Muhammad bin Qasim, and Mahmud Ghazni were earlier invaders from different periods (12th century, 8th century, and 11th century respectively) - none founded the Mughal dynasty.