Towards the end of 1836, Sardar
Hari Singh Nalwa, the commander-in-chief of the
Sikh Khalsa Army, attacked and captured the small, but very strategic, fortified Khyberi village of Jamrud, situated on the south side of a range of mountains at the mouth of the
Khyber Pass. With the conquest of Jamrud, the Sikh Empire now bordered the frontier of Afghanistan. In 1837, the
Sikh Army was in
Lahore where all their best generals and troops were recalled from across the Sikh Empire including Peshawar for the wedding of
Kanwar Nau Nihal Singh, the grandson of
Maharaja Ranjit Singh. The Emir of Afghanistan,
Dost Mohammad Khan, finding this as the right opportunity, sent his sons with a 7,000 cavalry, 2,000
matchlock-equipped men, 9,000 guerilla fighters and 20,000 Khybers. Akbar Khan reached Jamrud, and saw no sign of the Sikh forces, and as a result began to demolish the defenses of the fort. While Akbar Khan's forces were focused on destroying the fortifications, Hari Singh Nawla, the Sikh general, led a charge against the Afghans. The Afghans were sent into disarray with heavy losses, and Akbar Khan's force was relieved by Shams al-Din Khan, who charged the Sikh lines. Akbar Khan reorganized and rallied his men and forced the Sikhs to retreat to the fort of Jamrud. Amidst the fighting, Nalwa was mortally injured in the battle and later died after forcing his way into the fort. According to Afghan chronicle Siraj al-Tawarikh, Akbar Khan and Hari Singh Nawla engaged in a duel without recognizing each other. After much thrusting and parrying, Akbar Khan won out and Nawla was knocked to the ground and killed. According to historian
Hari Ram Gupta, when Hari Singh rallied his men and rode to the front, he was struck by two bullets, one in the stomach and the other on the side. Mortally wounded he was immediately taken inside the fort where he ordered that his death be kept a secret till reinforcements arrived. Many eyewitnesses claimed Nalwa ordered his dead body to be hung outside the fort before he died, discouraging the Afghans from attacking, believing Nalwa was still alive. The Sikh garrison continued holding out until Sikh reinforcements arrived from Lahore, prompting the Afghans to retire from the siege. The battle ended with the retreat of Afghans back to
Jalalabad. ==Result of the battle==