# Afghan–Sikh wars

History of South Asia :
Outline
Palaeolithic (2,500,000–250,000 BC) Madrasian culture Soanian culture
Neolithic (10,800–3300 BC) Bhirrana culture (7570–6200 BC) Mehrgarh culture (7000–3300 BC) Edakkal culture (5000–3000 BC)
Chalcolithic (3500–1500 BC) Anarta tradition (c. 3950–1900 BC) Ahar-Banas culture (3000–1500 BC) Pandu culture (1600–750 BC) Malwa culture (1600–1300 BC) Jorwe culture (1400–700 BC)
Bronze Age (3300–1300 BC) Indus Valley Civilisation(3300–1300 BC)  – Early Harappan culture(3300–2600 BC)  – Mature Harappan culture(2600–1900 BC)  – Late Harappan culture(1900–1300 BC) Vedic Civilisation(2000–500 BC)  – Ochre Coloured Pottery culture(2000–1600 BC)  – Swat culture(1600–500 BC)
Iron Age (1500–200 BC) Vedic Civilisation(1500–500 BC)  – Janapadas (1500–600 BC)  – Black and Red ware culture(1300–1000 BC)  – Painted Grey Ware culture (1200–600 BC)  – Northern Black Polished Ware (700–200 BC) Pradyota dynasty (799–684 BC) Haryanka dynasty (684–424 BC) Three Crowned Kingdoms (c. 600 BC – AD 1600) Maha Janapadas (c. 600–300 BC) Achaemenid Empire (550–330 BC) Ror Dynasty (450 BC – AD 489) Shaishunaga dynasty (424–345 BC) Nanda Empire (380–321 BC) Macedonian Empire (330–323 BC) Maurya Empire (321–184 BC) Seleucid India (312–303 BC) Sangam period (c. 300 BC – c. 300 AD) Pandya Empire (c. 300 BC – AD 1345) Chera Kingdom (c. 300 BC – AD 1102) Chola Empire (c. 300 BC – AD 1279) Pallava Empire (c. 250 AD – AD 800) Maha-Megha-Vahana Empire (c. 250 BC – c. AD 500) Parthian Empire (247 BC – AD 224)
Middle Kingdoms (230 BC – AD 1206) Satavahana Empire (230 BC – AD 220) Kuninda Kingdom (200 BC – AD 300) Mitra Dynasty (c. 150 – c. 50 BC) Shunga Empire (185–73 BC) Indo-Greek Kingdom (180 BC – AD 10) Kanva Empire (75–26 BC) Indo-Scythian Kingdom (50 BC – AD 400) Indo-Parthian Kingdom (AD 21 – c. 130) Western Satrap Empire (AD 35–405 ) Kushan Empire (AD 60–240) Bharshiva Dynasty (170–350) Nagas of Padmavati (210–340) Sasanian Empire (224–651) Indo-Sassanid Kingdom (230–360) Vakataka Empire (c. 250 – c. 500) Kalabhras Empire (c. 250 – c. 600) Gupta Empire (280–550) Kadamba Empire (345–525) Western Ganga Kingdom (350–1000) Kamarupa Kingdom (350–1100) Vishnukundina Empire (420–624) Maitraka Empire (475–767) Huna Kingdom (475–576) Rai Kingdom (489–632) Kabul Shahi Empire (c. 500 – 1026) Chalukya Empire (543–753) Maukhari Empire (c. 550 – c. 700) Harsha Empire (606–647) Tibetan Empire (618–841) Eastern Chalukya Kingdom (624–1075) Rashidun Caliphate (632–661) Gurjara-Pratihara Empire (650–1036) Umayyad Caliphate (661–750) Mallabhum kingdom (694–1947) Bhauma-Kara Kingdom (736–916) Pala Empire (750–1174) Rashtrakuta Empire (753–982) Paramara Kingdom (800–1327) Yadava Empire (850–1334) Somavamshi Kingdom (882–1110) Chaulukya Kingdom (942–1244) Western Chalukya Empire (973–1189) Lohara Kingdom (1003–1320) Hoysala Empire (1040–1347) Sena Empire (1070–1230) Eastern Ganga Empire (1078–1434) Kakatiya Kingdom (1083–1323) Zamorin Kingdom (1102–1766) Kalachuris of Tripuri (675–1210) Kalachuris of Kalyani (1156–1184) Chutiya Kingdom (1187–1673) Deva Kingdom (c. 1200 – c. 1300)
Late medieval period (1206–1526) Ghaznavid Dynasty (977–1186) Ghurid Dynasty (1170–1206) Delhi Sultanate (1206–1526)  – Mamluk Sultanate (1206–1290)  – Khalji Sultanate (1290–1320)  – Tughlaq Sultanate (1320–1414)  – Sayyid Sultanate (1414–1451)  – Lodi Sultanate (1451–1526) Ahom Kingdom (1228–1826) Chitradurga Kingdom (1300–1779) Reddy Kingdom (1325–1448) Vijayanagara Empire (1336–1646) Bengal Sultanate (1352–1576) Garhwal Kingdom (1358–1803) Mysore Kingdom (1399–1947) Gajapati Empire (1434–1541) Ladakh Kingdom (1470–1842) Deccan sultanates (1490–1596)  – Ahmadnagar Sultanate (1490–1636)  – Berar sultanate (1490–1574)  – Bidar Sultanate (1492–1619)  – Bijapur Sultanate (1492–1686)  – Golkonda Sultanate (1518–1687) Keladi Kingdom (1499–1763) Koch Kingdom (1515–1947)
Early modern period (1526–1858) Mughal Empire (1526–1858) Sur Empire (1540–1556) Madurai Kingdom (1529–1736) Thanjavur Kingdom (1532–1673) Bhoi dynasty (1541–1804) Bengal Subah (1576–1757) Marava Kingdom (1600–1750) Sikkim Kingdom (1642–1975) Thondaiman Kingdom (1650–1948) Maratha Empire (1674–1818) Sikh Confederacy (1707–1799) Travancore Kingdom (1729–1947) Sikh Empire (1799–1849)
Colonial states (1510–1961) Portuguese India (1510–1961) Dutch India (1605–1825) Danish India (1620–1869) French India (1759–1954) Company Raj (1757–1858) British Raj (1858–1947) :
National historiesAfghanistanBangladeshBhutanIndiaMaldivesNepalPakistanSri Lanka :
Regional historiesAssamBalochistanBengalBiharGujaratHimachal PradeshKabulKarnatakaKashmirKhyber PakhtunkhwaRajasthanMaharashtraUttar PradeshPunjabOdishaSindhSouth IndiaTamil NaduTibet :
Specialised historiesAgricultureArchitectureCoinageDemographicsDynastiesEconomyEducationIndologyInfluence on Southeast AsiaLanguageLiteratureMaritimeMetallurgyMilitaryPartition of IndiaPakistan studiesPhilosophyReligionScience and technologyTimeline :
vte :
The Afghan–Sikh wars spanned from 1748 to 1837 in the Indian subcontinent, and saw multiple phases of fighting between the Durrani Empire and the Sikh Empire (and its predecessors), mainly in and around Punjab region. The conflict's origins stemmed from the days of the Dal Khalsa, and continued after the Emirate of Kabul succeeded the Durrani Empire.

## Background

The Sikh Confederacy had effectively achieved independence from the Mughal Empire in 1716, and expanded at its expense in the following decades, despite the Chhota Ghallughara. The Afsharid Persian emperor Nader Shah's invasion of the Mughal Empire (1738–40) dealt a heavy blow to the Mughals, but after Nader Shah's death in 1747, Ahmed Shah Abdali, the founder of the Durrani Empire declared independence from Persia. Four years later, this new Afghan state came into conflict with the Sikh alliance.

## Campaigns of Ahmad Shah Abdali

On 12 January 1748, Ahmad Shah Durrani invaded and occupied Lahore, after the Mughal governor of Lahore, Shah Nawaz Khan, fled to Delhi. Establishing a governor over Lahore, Ahmad marched his army east taking more territory, but was defeated at the Battle of Manupur by Mughals in alliance with Sikhs and fled back to Kandahar. Sikh bands under Charat Singh, Jassa Singh Ahluwalia and Ala Singh continued to harass Durrani forces as they retreated. Thus, the first invasion of Shah proved a failure but it gave an opportunity to the Sikhs to organize themselves into the Dal Khalsa, an army of the Sikh Confederacy, at Amritsar in March 1748. The Sikhs retook Lahore only to lose it to the Afghans by 12 April 1752.
The Sikhs used guerilla warfare to try to oust the Afghans from Punjab. In November 1757, the Sikhs were defeated by the Afghan army at Battle of Amritsar (also known as the Battle of Gohalwar), under the command of Timur Shah Durrani, son of Ahmad Shah Durrani. After witnessing the fall of Lahore, the Durrani commander-in-chief Jahan Khan and Timur Shah fled the city, and while trying to cross the Chenab and Ravi rivers, thousands of Afghan soldiers were drowned and much of the soldiers' baggage abandoned. Sikhs took the captured Afghan prisoners to Amritsar to clean the sacred pool in Amritsar that was desecrated by the Afghans. In 1758, the Sikhs defeated the Afghan faujdar (military officer) Sa‘adat Khan Afridi, who fled from Jalandhar, followed with the defeat of Afghan army from all direction. Though the Sikhs captured and plundered Lahore, the Afghans recaptured Lahore in 1761, but just within a couple of months, in May 1761, the Sikh army defeated the Afghan army, led by Ahmad Shah's governor of the Chahar Mahal, followed with defeat and surrender of relief party sent from Kandahar. Thereafter, Sikhs captured Lahore. In September 1761, near Gujranwala, Ahmad Shah Durrani's governor of the province of Lahore, was defeated by the Sikhs, continued with the defeat and ousting of the remaining commanders of Durrani's, eventually bringing the entire territories from the Satluj to the Indus, under Sikh occupation, along with Bist Jalandhar Doab, Sarhind, Rachna and the Chaj Doabs. Ahmad Shah lost most of the Punjab to Sikhs.
In October 1762, Ahmad Shah Durrani attacked Amritsar but was defeated by the Sikhs. In December 1762, he fought a skirmish with Sikh forces at the Battle of the Ravi Ford in December 1762. In November 1763, Sikh forces had forced Durrani armies to advance upon them, which led to the Battle of Sialkot, where the Afghans were defeated, and were forced to leave their Punjab campaign in the wake of this defeat. At Gujranwala, Jahan Khan was heavily defeated by the Sikhs, who then continued their victory by sacking the towns of Malerkotla and Morinda, followed with the defeat of the commander of Rohtas Fortress, Sarbaland Khan Saddozai, who was captured and imprisoned but later released after consenting to the Sikh sovereignty. The reports of catastrophe enraged Ahmad Shah and wrote to Nasir Khan, beglar begi of Khalat, to join him in jihad (holy war) against the Sikhs, to destroy them and to enslave their women and children, but Ahmad Shah's march to Punjab in 1764, resulted in failure of Jihad with the defeat, ambush and ousting of advance guards by the Sikhs outside of Lahore. In 1765, Ahmad Shah marched again to Punjab with Qazi Mur Muhammad but his authority was only restricted within his camp as he remained on the defensive side with Sikhs swarming around the camp, which eventually resulted in Ahmad Shah's return to Kabul without pursuing even a single battle, where the Qazi noticed with disappointment that the country from Sirhind to Derajat was divided amongst the Sikhs with their sovereignty The Sikh sovereignty was further acknowledged in Lahore by striking a coin which pierced the same inscription that fifty five years ago was used by Banda Singh Bahadur on his seal, followed with re-establishment of 13 Sikh rule.
The Sikhs would also capture Multan in 1772. The period after this would be known as the "Sikh Interlude Period", from 1772 to 1780.

## Campaigns of Timur Shah

Timur Shah ascended to the throne of the Durrani Empire after his father, Ahmad Shah Durrani's death. Timur Shah consolidated his rule through multiple attempts, and also attempted an earlier campaign in 1775, however realizing the weakness of his army in view of smaller in number, Timur Shah retired to Peshawar which proceeded with rebellion by Faizullah Khan, who plotted to assassinate Timur Shah but was cunningly executed. In late 1779, Timur Shah decided to conquer Multan. Due to Sikhs having been in possession of the provinces of Lahore and Multan, these provinces served as a barrier for any attempt by Timur Shah to invade, many chiefs and nobility, dependencies of Durranis, paid no respect to the Durrani sovereignty, such as Sind which reduced the amount of tribute and hardly paid it, mostly due to its concurrent civil war between the Talpurs, and the Kalhoras; Nasir Khan Balouch, the ruler of the Khanate of Kalat under Timur Shah did not acknowledge the authority of Afghan monarch, as a result, inducing other Durrani chiefdoms to do the same, including the chief of Bahawalpur, who treated the authority of Timur Shah with no respect. Timur Shah thereupon tried to recover Multan by diplomacy and therefore sent Haji Ali Khan, as his agent, along with companions, to the Bhangi Sikh Chiefs to negotiate, with advice to behave and be polite, but instead, Haji Ali Khan threatened the Bhangi Chiefs to retire from Multan or face the royal wrath. The Bhangis tied Haji to the tree and shot him dead whereas his companions were left unharmed and sent back to report to Timur. Upon the news of death of his agent, Timur Shah detached a force of 18,000 men that included Yusafzais, Durranis, Mughals and Qizalbashes under general Zangi Khan, with orders to march by less known routes and fall upon the Sikhs unaware and Zangi Khan gave strict orders to his army to keep the movement secret. Zangi Khan halted 25 km from the Sikh camps with orders to imprison anyone who goes in the direction of the Sikh camp to make the Sikhs aware of their presence. Timur Shah positioned himself in the centre, at the head of 5,000 Yusafzai men. Little before daybreak, early morning, the Sikhs completely unaware of Afghan army's presence, were attacked, and though unorganized, the Sikhs gave tough resistance but were eventually overwhelmed. About 3000 Sikhs were killed, and 500 others drowned in river Jhelum in trying to cross it during the Sikh retreat, while 2000 escaped by successfully reaching the opposite bank of the river. Following the victory, Timur Shah Durrani captured Multan after meeting the relieving Sikh force in Shujabad where a severe battle was fought on 8 February 1780. The Sikhs lost 2,000 men in killed and wounded and proceeded to flee towards Lahore. Timur sent a large army in pursuit of them and managed to overtake them at Hujra Muqim Khan, 64 km south west of Lahore. After this successful juncture, Timur hurried from Shujabad to Multan and ordered a general massacre in the city and besieged the fort in which the Sikh army was residing. Negotiations were held and with the acceptance of conditions, Timur took over the fort on 18 February 1780, following which Timur Shah appointed Muzaffar Khan as the Nazim of Multan and Abdul Karim Khan Babar, a defected Muslim general of the Sikh army was appointed as Naib (Chief officer) of Muzaffar Khan. Multan would remain under Afghan rule until its loss in 1818 to the Sikh Empire, during the Siege of Multan.
This phase ended with the death of Timur Shah on 20 May 1793, leading his successor, Zaman Shah Durrani to ascend to the Durrani throne.

## Campaigns of Zaman Shah

Zaman Shah Durrani ascended to the Durrani throne after his father, Timur Shah died on 20 May 1793. Zaman Shah lead multiple campaigns of Punjab against the Sikhs. His first campaign was in November 1796.

### First campaign of Punjab

Zaman Shah's campaign of Punjab in 1796 against the Sikhs, led to capture of Lahore in January 1797, without any opposition as the Sikh chiefs retired to Amritsar to protect the holy city. Zaman Shah progressed towards Amritsar on January 13, 1797, where he was defeated by the Sikhs, 10 km away from the city. As intelligence from Kabul had warned of a possible Persian invasion of main Afghanistan, Zaman Shah was forced to abandon his first Punjab campaign and return home to mobilize an army to combat this threat, headed by his own brother, Mahmud Shah Durrani. The Sikhs recaptured Lahore as he left. After retreat, he left his deputy general, Ahmad Khan Shahanchi-bashi in charge, along with Afghan soldiers but he too was defeated and killed by the Sikhs.

### Second campaign of Punjab

Having dealt with Mahmud Shah Durrani for the time being, Zaman Shah returned to Punjab and resumed his campaign once again, occupying Lahore in autumn of 1798, without opposition, as it was strategy of Ranjit Singh to drive them into Lahore and then lay siege to the city. Zaman Shah intended to march on Delhi but the Sikhs laid waste around 150 km of his camp to stop supplies and engaged in skirmishes. Facing determined foe who could cut of his communication with Kabul, Shah Zaman exercised discretion and returned to Afghanistan with his troops on 4 January 1799. Bhangi Sikh Misl recaptured Lahore. Zaman Shah then appointed 19 yr old Ranjit Singh as governor of Lahore to try to divide the Sikhs and returned to Peshawar where Sikhs all along harried the Afghans to river Jhelum. While crossing the river, Zaman Shah lost most men, supplies and heavy artillery due to upsurge. Eventually, Shah Zaman and his remaining army reached Kandahar in late 1799, exhausted from the campaign.

### Third campaign of Punjab

Zaman Shah set out his third campaign of Punjab in the spring of 1800, plotted to deal with a rebellious Ranjit Singh. However, having civil strife in Afghanistan, he was forced to cut his campaign short, having to deal with his brother, Mahmud Shah Durrani once again. Shah Zaman would not return to Punjab, and he would be deposed by Mahmud Shah.

## Campaigns of Maharaja Ranjit Singh

In 1813, after demanding the return of the fort at Attock, the Durrani prime minister Wazir Fateh Khan besieged Attock. A Punjabi relief force arrived and for three months the two armies faced each other, neither side moving. As the heat from summer started to affect the armies, Dewan Mokham Chand marched his army to block the Afghans from getting water from the river. Without water the Afghan troops began to suffer dehydration, so they launched attack after attack towards the river, but were unable to break through. Chand, realizing the Afghans were weakened, charged his cavalry at the Afghans who broke and ran, losing two thousand men.
Accusing Ranjit Singh of treachery, Fateh Khan set off from Kashmir at the head of 15,000 cavalry in April 1813 and invested Attock Fort. At the same time Ranjit Singh rushed Dewan Mokham Chand and Karam Chand Chahal from Burhan with a force of cavalry, artillery, and a battalion of infantry to meet the Afghans.
Dewan Mokham Chand Nayyar encamped 8 miles (13 km) from the Afghan camp, unwilling to risk a decisive engagement, although both sides engaged in numerous skirmishes and took losses. On 12 July 1813, the Afghans' supplies were exhausted and Dewan Mokham Chand Nayyar marched 8 kilometres (5.0 mi) from Attock to Haidaru, on the banks of the Indus River, to offer battle. On 13 July 1813, Dewan Mokham Chand Nayyar split the cavalry into four divisions, giving command of one division to Hari Singh Nalwa and taking command of one division himself. The lone battalion of infantry formed an infantry square protecting the artillery, with Gouse Khan commanding the artillery. The Afghans took up positions opposite the Sikhs, with a portion of their cavalry under the command of Dost Mohammad Khan.
Fateh Khan opened the battle by sending his Pathans on a cavalry charge which was repulsed by heavy fire from the Sikh artillery. The Afghans rallied under Dost Mohammad Khan, who led the Ghazis on another cavalry charge which threw one wing of the Sikh army into disarray and captured some artillery. When it appeared the Sikhs had lost the battle, Dewan Mokham Chand led a cavalry charge atop a war elephant that repulsed the Afghans "at all points", and routed the remaining Afghan troops. Fateh Khan, fearing his brother, Dost Mohammad Khan, had died, escaped to Kabul and the Sikhs captured the Afghan camp, including the lost artillery pieces.
Two months after the victory at Attock, Ranjit Singh decided to capitalize on instability in the Durrani Kingdom, and launched a campaign to take Kashmir from the Durrani Empire. A late Autumn start postponed the campaign until the next spring. By June, an army of 30,000 men under the command of Ram Dyal, grandson of Dewan Mokham Chand, marched toward Baramulla, with a pincer attack of 20,000 men led by Ranjit Singh marching to Poonch.
Ranjit's force was delayed by torrential rains, while Ram Dyal's army took the fortress of Baramulla on 20 July 1814. When Dyal's army reached Shupaiyan, the governor of Kashmir, Azim Khan blocked his advance. Fighting a delaying action, Dyal waited on a reinforcement of 5,000 men from Ranjit. These reinforcements were forced to a standstill by Afghan snipers.
Ranjit Singh's force made little progress. Faced with a scorched earth from the fleeing populace, food supplies became a major issue for his army, followed by a cholera outbreak. Meanwhile, Ram Dyal, who was entrenched near Srinagar, received a proposal from Azim Khan for a negotiated peace and was able to extricate himself from a difficult situation. Ranjit Singh's campaign ended in failure.
Amritsar, Lahore, and other large cities across the Sikh Empire were illuminated for two months afterwards in rejoicing over the victory. After his defeat at Attock, Fateh Khan fought off an attempt by Ali Shah, the ruler of Persia, and his son Ali Mirza to capture the Durrani province of Herat, which left their newly captured province of Kashmir open to attack.

### Siege of Multan

In early January the Sikh force began their campaign with the capture of Nawab Muzaffar Khan's forts at Muzaffargarh and Khangarh. In February, the Sikh force under Kharak Singh reached Multan and ordered Muzaffar to pay the large tribute he owed and to surrender the fort, but Muzaffar refused. The Sikh forces won an engagement near the city but were unable to capture Muzaffar before he retreated into the fort. The Sikh army asked for more artillery and Ranjit Singh sent them the Zamzama and other large artillery pieces, which commenced fire on the walls of the fort. In early June, Sadhu Singh and a small band of other Akalis attacked the fort walls and discovered a breach in the wall. As they ran in to battle the unaware garrison the larger Sikh army was alerted and entered the fort through the breach. Muzaffar and his sons attempted a sortie to defend the fort but were killed in the battle.
The siege of Multan ended significant Afghan influence in the Peshawar region and led to multiple Sikh attempts at capturing and the final capture of Peshawar.

### Battle of Shopian

The battle took place in the Shopian region in the Kashmir region. This battle included the 1819 Kashmir expedition, which led to Kashmir being annexed to the Sikh Empire.
When the Sikh army entered the city of Srinagar after the battle, Prince Kharak Singh guaranteed the personal safety of every citizen and ensured the city was not plundered. The peaceful capture of Srinagar was important as Srinagar, besides having a large Shawl-making industry, was also the center of trade between Panjab, Tibet, Iskardo, and Ladakh.
After taking Srinagar, the Sikh army faced no major opposition in conquering Kashmir. However, when Ranjit Singh installed Moti Ram, the son of Dewan Mokham Chand, as the new governor of Kashmir, he also sent a "large body of troops" with him to ensure tribute from strongholds within Kashmir that might attempt to resist Sikh rule. The capture of Kashmir set the boundaries and borders of the Sikh Empire with Tibet. The conquest of Kashmir marked an "extensive addition" to the Sikh Empire and "significantly" increased the empire's revenue and landmass.

### Battle of Nowshera

The battle took place on 14 March 1823, in the bloody battle of Nowshera, Ranjit Singh led Sikh force's defeated Yusufzai Afghan supported by the Peshawar sardars. Azim Khan Barakzai died shortly after the battle from Cholera.

### Battle of Jamrud

The Battle of Jamrud was the fifth and foremost battle within the third Afghan–Sikh war. The result of the battle is disputed amongst historians. Some contend the failure of the Afghans to take the fort and the city of Peshawar or town of Jamrud as a victory for the Sikhs. On the other hand, some state that the killing of Hari Singh Nalwa resulted in an Afghan victory. James Norris, Professor of Political Science at Texas A&M International University, states that the battle's outcome was inconclusive.