In 1526, Babur, a descendant of Timur, invaded India and established the Mughal Empire. Babur introduced firearms and artillery into Indian warfare. He destroyed the army of Ibrahim Lodi at the First Battle of Panipat and the army of Rana Sanga in 1527 at the Battle of Khanua. The great Moghul Emperor Akbar (r. 1556–1605 AD) had 32,000 elephants in his stables. Jahangir, (reigned 1605–1627 A.D.) was a great connoisseur of elephants. He increased the number of elephants in service. Jahangir was stated to have 113,000 elephants in captivity: 12,000 in active army service, 1,000 to supply fodder to these animals, and another 100,000 elephants to carry courtiers, officials, attendants and baggage (Lahiri Choudhury, 1988).