The First Battle of Panipat, on 21 April 1526 was fought between the invading forces of Babur against Ibrahim Khan Lodi, the Sultan of Delhi, in North India. Babur's forces, employing gunpowder firearms and cannons, defeated Ibrahim. This was one of the earliest battles involving gunpowder arms on the Indian subcontinent. The victory marked the beginning of Mughal rule in India.
Background
thumb|right|The battle of Panipat between the armies of Babur and Ibrahim Lodi (1526). Babur was invited by Daulat Khan Lodi to enter India and defeat Ibrahim Lodi. An illustration to the Vaqi 'at-i Baburi, by Deo Gujarati, c. 1590.
In 1504, Babur succeeded his late uncle Ulugh Beg II by force of arms, taking control of the latter's kingdom based around Kabul and Ghazni. Opposed by Muhammad Shaybani to the northwest, Babur sought to expand his kingdom to the southeast, into Punjab, the land of the five rivers. By 1519, he had reached the Chenab River.
At that time, most of North India was part of the Delhi Sultanate, under the rule of Ibrahim Lodi of the Lodi dynasty. However, Ibrahim was locked in a power struggle with his relatives and ministers. Daulat Khan Lodi, Governor of Punjab, offered to defect to Babur. Babur started for Lahore, in 1524 but found that Daulat had been driven out by forces sent by Ibrahim. The Lodi army marched out to engage Babur and was routed. Babur also took control of Jhelum, Sialkot, Kalanaur and Dipalpur before returning to Kabul. He placed Dipalpur under control of Alam Khan, a rebel uncle of Ibrahim.
At the end of 1525, Babur was to return to northern India, crossing the Indus in December. After securing his conquest of Punjab, Babur advanced towards Delhi. It was at Panipat he was to meet and engage a much larger army assembled by Ibrahim.
Battle
Ibrahim's army is reported to have had an effective strength of between 50,000 and 70,000 with 1,000 war elephants but lacked gunpowder arms.
