Babur defeated Sultan Ibrahim Lodi at the First Battle of Panipat in 1526, establishing the Mughal Empire in India. Babur used gunpowder firearms and field artillery, which were new to the region, giving him a decisive advantage over Lodi's larger army. This battle marked the beginning of Mughal rule in India that lasted until 1857.