Skip to content
The War AtlasThe · War · Atlas

Age of Nationalism // 1839-1842

First Anglo-Afghan War

The First Anglo-Afghan War was fought between the British Empire and the Emirate of Kabul from 1838 to 1842. The British initially successfully invaded the country taking sides in a succession dispute between emir Dost Mohammad Khan (Barakzai) and former King Shah Shujah (Durrani), whom they reinstalled upon occupying Kabul in August 1839. The main British Indian force occupied Kabul and endured harsh winters. The force and its camp followers were almost completely massacred during its 1842 retreat from Kabul.

~5 min read · 1,033 wordsBased on 26 sources

Tactical Map#

3 battles plotted

LOADING MAP TELEMETRY…

War Tempo#

Battle cadence by year

Battles per year

3 battles

Battle of Ghazni — July 23, 18391842 retreat from Kabul — January 1, 1842Battle of Kabul — January 1, 18421839184018411842

Heaviest fighting in 18422 catalogued battles.

Causes#

The immediate occasion for the war was a British determination to reverse what London and Calcutta perceived as Russian encroachment into Afghanistan. In 1837 a Russian diplomatic mission arrived in Kabul, and the Emirate of Kabul's ruler, Dost Mohammad Khan, was simultaneously pressing the British for assistance in recovering Peshawar from Sikh control. When the British refused his terms and he continued to receive the Russian envoy, the Governor-General of India, Lord Auckland, concluded that Afghanistan was drifting into the Russian orbit — a judgment formalized in the Simla Manifesto of October 1838, which declared British intent to install a more pliant ruler [1].

The structural cause was the logic of imperial buffer-state politics, the framework that contemporaries and later historians would term the "Great Game" [2]. British India's northwestern frontier had no defensible natural boundary, and Russian expansion through Central Asia across the first decades of the nineteenth century steadily reduced the distance between the two empires. Afghanistan the intervening ground. British strategic thought, shaped by memories of Napoleon's Egyptian expedition and by recurring invasion anxieties, held that a hostile or Russian-aligned Afghanistan could serve as a staging point against India. The logic was geopolitical rather than commercial: there was little of economic value in Afghanistan, and the costs of any expedition would far outweigh mercantile returns [3].

The political pretext the British settled on was a succession dispute within Afghanistan itself. Shah Shujah of the Durrani line had been deposed decades earlier and lived in exile at Ludhiana under British protection. Dost Mohammad, of the rival Barakzai clan, held Kabul and was the effective ruler of much of the country. Auckland's government chose to restore Shah Shujah by force, arguing that this would return Afghanistan to a sovereign "friendly to British interests" while technically avoiding the appearance of direct annexation [4]. The tripartite agreement concluded between the British, the Sikh kingdom of Ranjit Singh, and Shah Shujah provided the diplomatic cover for what was in practice a British operation.

The military execution followed swiftly from the political decision. The Army of the Indus crossed into Afghan territory in early 1839, took the fortress of Ghazni by storm in July, and entered Kabul in August without serious resistance, installing Shah Shujah on the throne [5]. That apparent ease contributed to a fatal miscalculation: British commanders underestimated both the depth of Afghan resistance to foreign occupation and the fragility of Shah Shujah's popular base. The settled into Kabul, its lines of communication stretched across hundreds of miles of hostile terrain, in a position that was strategically exposed from the outset [6]. The causes of the war were thus inseparable from the conditions that made the 1842 retreat from Kabul a catastrophe: the same overconfidence that drove the invasion governed its conduct.

Consequences#

The war ended not with a negotiated settlement but with an act of punitive demonstration. Following the destruction of the Army of the Indus and the annihilation of its column during the 1842 retreat from Kabul, British India dispatched an "Army of Retribution" under General George Pollock, which relieved Jalalabad, reoccupied Kabul, and destroyed the city's great bazaar before withdrawing entirely from Afghan territory later that year[1]. No territory changed hands, no indemnity was levied, and no treaty formalized the end of hostilities. The British simply evacuated the country they had three years earlier, releasing the imprisoned Dost Mohammad Khan and permitting his restoration to the Kabul throne[2]. Shah Shujah, the Durrani claimant the British had reinstalled, had already been assassinated in April 1842, leaving the Barakzai line firmly in possession of Kabul.

The political consequences for British India were immediate and embarrassing. The Governor-General Lord Auckland, under whose authority the invasion had been launched, was recalled and replaced by Lord Ellenborough, who oversaw the withdrawal and attempted to reframe the evacuation as a demonstration of imperial strength[3]. The episode generated sharp parliamentary criticism of forward-policy thinking and produced a prolonged, if ultimately temporary, reluctance within Calcutta's governing circles to repeat direct military intervention in Afghanistan. The massacre of a force estimated at some 16,000 soldiers and camp followers — one of the most complete disasters in British imperial military history — supplied a lasting emblem of the limits of conventional military power in Afghan terrain[4].

Geopolitically, the war failed to achieve its central strategic objective: preventing Russian influence from penetrating Central Asia toward the approaches to India. Dost Mohammad Khan, now restored and harboring grievances the British had done nothing to mitigate, was under no obligation to align Kabul with British interests. The so-called Great Game between Britain and Russia for influence over the intervening states between their respective empires continued without resolution[5]. Britain would fight two further Afghan wars — the Second Anglo-Afghan War (1878–1880) and the Third Anglo-Afghan War (1919) — in pursuit of the same strategic aims the first had so catastrophically failed to secure.

Within Afghanistan, Dost Mohammad Khan used the decade following his restoration to consolidate Barakzai authority and expand Kabul's control over the fragmented regional powers, including the Sikh-held territory of Peshawar after the collapse of the Sikh Empire. The British intervention had, paradoxically, strengthened Afghan identity around resistance to foreign occupation, a political culture the war cemented rather than erased[6]. The destruction wrought by the British occupation and the Army of Retribution's deliberate burning of the Kabul bazaar imposed material costs on Afghan civil society that reinforced perceptions of the British as conquerors rather than stabilizers[2].

What the war demonstrably did not resolve was the structural problem at its origin: the absence of a stable, British-aligned buffer state between India and the advancing Russian imperial frontier. Nor did it settle the internal Afghan succession politics that had provided the pretext for intervention. The war instead added a new political fact — deep Afghan suspicion of foreign military presence — to a set of geopolitical pressures that would define the region for the following century and well beyond[7]. In British military culture, the disaster of the retreat from Kabul and the Battle of Kabul entered the institutional memory as a cautionary case study in the dangers of overextension and under-preparation, though that memory proved insufficient to prevent analogous miscalculations in later operations.

Campaigns#

0 operational sequences

    Battles#

    3 catalogued engagements

    • Battle of Ghazni

      July 23, 1839

      The Battle of Ghazni was fought at the city of Ghazni in central Afghanistan on 23 July 1839, during the First Anglo-Afghan War. The engagement pitted a Durrani force of over 20,000 under Shuja Shah Durrani and John Keane against a Barakzai garrison of 3,500 commanded by Ghulam Haidar Khan. Barakzai casualties reached 1,600. Ghazni was a strategically positioned city in central Afghanistan, and its fall was a significant step in the British-backed effort to restore Shuja Shah Durrani to power against the Barakzai rulers.

    • The retreat from Kabul stands as one of the most catastrophic military disasters in British imperial history. Forced out of Kabul by an Afghan uprising, the British and East India Company force under Major-General William Elphinstone attempted to withdraw to the garrison at Jalalabad. The column, which included dependants and camp followers in addition to soldiers, suffered catastrophic losses of approximately 16,600 to Afghan tribal attacks, exposure, frostbite, and starvation. The destruction of the force effectively ended the British position in Afghanistan during the First Anglo-Afghan War, demonstrating the limits of British power projection into the interior of the country and the vulnerability of large, encumbered columns operating in hostile terrain far from reliable support.

    • Battle of Kabul

      January 1, 1842

    Famous commanders of First Anglo-Afghan War

    7 shown

    Ranked by Σ battle intensity across battles led in scope. Strategic leaders (chiefs of state / supreme commanders) pinned to the top.

    Other wars in this era

    Age of Nationalism

    Last verified June 2026
    Cite this page →Suggest a correction →