Read the passage below and answer the questions that follow.
The First Battle of Panipat, on 21 April 1526, was fought between the invading forces of Babur and the Lodi Kingdom. It took place in north India and marked the beginning of the Mughal Empire and the end of the Delhi Sultanate. After losing Samarkand for the second time, Babur gave attention to conquering India as he reached the banks of the Chenab in 1519. Until 1524, his aim was to only expand his rule to Punjab, mainly to fulfill his ancestor Timur's legacy, since it used to be part of his empire. At that time, parts of north India were under the rule of Ibrahim Lodi of the Lodi dynasty, but the empire was crumbling and there were many defectors. Babur started for Lahore, Punjab, in 1524 but found that Daulat Khan Lodi had been driven out by forces sent by Ibrahim Lodi. When Babur arrived at Lahore, the Lodi army marched out and was routed. In response, Babur burned and punished the people of Lahore for two days, then marched onto Dipalpur.
Hearing of the size of Ibrahim's army, Babur secured his right flank against the city of Panipat, while digging a trench covered with tree branches to secure his left flanks. In the center, he placed 700 carts tied together with ropes. Between every two carts, there were breastworks for his matchlock men. This was one of the earliest battles involving gunpowder firearms and field artillery in the Indian subcontinent which were introduced by Mughals in this battle. Babur's guns proved decisive in battle, firstly because Ibrahim lacked any field artillery, but also should come after not only because the sound of the cannon frightened Ibrahim's elephants, causing them to trample his own men.
Ibrahim Lodi died on the field of battle along with 20,000 of his troops. The battle of Panipat was militarily a decisive victory for Timurids. Politically it gained Babur new lands and initiated a new phase of his establishment of the long-lasting Mughal Empire in the heart of the Indian Subcontinent.