Skip to content
The War AtlasThe · War · Atlas

New Imperialism // 1878-1880

Second Anglo-Afghan War

The Second Anglo-Afghan War was a military conflict fought between the British Raj and the Emirate of Afghanistan from 1878 to 1880, when the latter was ruled by Sher Ali Khan of the Barakzai dynasty, the son of former Emir Dost Mohammad Khan. The war was part of the Great Game between the British and Russian empires.

~5 min read · 1,022 wordsBased on 18 sources

Tactical Map#

5 battles plotted

LOADING MAP TELEMETRY…

War Tempo#

Battle cadence by year

Causes#

The immediate trigger for the Second Anglo-Afghan War was the arrival in Kabul of a Russian diplomatic mission in July 1878 and the subsequent refusal of Emir Sher Ali Khan to receive a corresponding British mission led by Sir Neville Chamberlain. When the British envoy's party was turned back at the Khyber Pass in September 1878, British India's viceroy, Lord Lytton, issued an ultimatum demanding an apology and the acceptance of permanent British representatives in Afghanistan. Sher Ali failed to respond satisfactorily, and British forces crossed the frontier in three columns on 21 November 1878, opening the conflict with engagements at Ali Masjid and Peiwar Kotal[1].

The structural cause underlying this confrontation was the strategic competition between Britain and Russia known as the Great Game — a contest for influence over Central Asia and the approaches to British India that had shaped Anglo-Afghan relations since the First Anglo-Afghan War (1839–1842)[2]. Russia's sustained southward expansion through the 1860s and 1870s had absorbed the khanates of Bukhara, Khiva, and Kokand, bringing Russian power to within striking distance of Afghanistan's northern borders. British strategists divided between the "forward policy" school, which argued that Afghanistan must be brought firmly within the British sphere before Russian influence penetrated it, and the "masterly inactivity" school, which regarded the Hindu Kush as a sufficient natural barrier. The election of Benjamin Disraeli's Conservative government in 1874 and the appointment of Lytton as viceroy in 1876 decisively shifted Indian policy toward the forward school[3].

The diplomatic friction of 1878 was in large part manufactured by that policy shift. Lytton sought to impose on Sher Ali a treaty that would station British Residents in Kandahar, Herat, and Kabul — an arrangement the emir regarded as incompatible with Afghan sovereignty and likely to replicate the subordination he had watched Britain impose on other frontier principalities[4]. Sher Ali had received the Russian mission partly as a bargaining counter, hoping to extract binding security guarantees from St. Petersburg before conceding to British pressure; when General Kaufmann, the Russian commander in Tashkent, declined to offer any such guarantee, the emir found himself without leverage[5]. His refusal of the British mission was therefore less a strategic alignment with Russia than a desperate assertion of neutrality, but Lytton chose to treat it as a casus belli.

Fiscal and administrative pressures within British India reinforced the forward momentum. Controlling the passes through the North-West Frontier was understood as an economy-of-force problem: fixed treaty arrangements, it was argued, would be cheaper than repeated punitive expeditions[6]. The commercial dimension was secondary but not absent — British merchants and the India Office both recognized that stable routes through Afghanistan would eventually open Central Asian markets to Indian trade. These calculations combined with the broader ideological framework of imperial trusteeship, which cast British intervention as an ordering force amid the instability that surrounded a weakened Afghan state[7]. Together, geopolitical anxiety, a doctrinally aggressive viceroyalty, and the emir's inability to satisfy two rival empires simultaneously made the outbreak of hostilities in late 1878 very nearly overdetermined.

Consequences#

The war's formal conclusion came in stages rather than through a single peace instrument. The Treaty of Gandamak, concluded in May 1879 with the new Emir Yaqub Khan, established the essential terms that governed Afghanistan's postwar status: the British assumed control of Afghan foreign affairs, gained permanent residency rights in Kabul, and took possession of the Khyber and Michni Passes as well as the Kurram Valley and Pishin and Sibi districts[1]. In exchange, Afghanistan received an annual subsidy and a British commitment to defend it against external aggression. The arrangement created what was in practice a British protectorate — Afghanistan retained nominal sovereignty over its internal governance while surrendering control of the domain in which sovereignty is most consequential: relations with foreign powers[2].

The political consequences within Afghanistan were immediate and destabilizing. The assassination of the British mission in Kabul in September 1879 forced a second British military advance, the abdication of Yaqub Khan, and an extended British of the country's principal cities. The decisive British victories at Charasiab, Ahmed Khel, and ultimately Kandahar — where the reversal at Maiwand was avenged — installed Abdur Rahman Khan as Emir on British terms[3]. Abdur Rahman proved a formidable consolidator of central authority, and his long reign (1880–1901) gave Afghanistan a degree of internal cohesion it had lacked, but that cohesion was built precisely around the anti-foreign sentiment the British occupations had generated. The paradox of British policy — seeking a compliant "scientific frontier" while producing a ruler whose legitimacy rested partly on hostility to foreign interference — was never satisfactorily resolved[4].

Geopolitically, the war produced the boundary settlement that British strategists had sought since the beginning of the Great Game. The Durand Line, demarcated in 1893 as a direct consequence of the frontier arrangements begun under the Treaty of Gandamak, fixed the limits of British and Afghan authority through the Pashtun tribal belt[5]. The line bisected Pashtun communities in ways that neither population nor Afghan government accepted as legitimate, generating a territorial grievance that outlasted the British Raj, the Soviet intervention, and every subsequent Afghan government. The North-West Frontier became a permanent commitment for the British Indian Army, and the management of tribal resistance along it absorbed resources and political attention for the remainder of the imperial period[6].

For the Emirate of Afghanistan as an institution, the war confirmed a structural dependency that shaped its development into the twentieth century. British subsidies, weapons, and diplomatic recognition sustained successive Kabul governments against both internal rivals and Russian pressure, but the same subsidy relationship constrained Afghan foreign policy and fed the domestic charge that the Barakzai emirs had sold national independence. The terms secured at Gandamak were not meaningfully revised until the Anglo-Afghan War of 1919, when Amanullah Khan renounced the subsidy and the protectorate arrangement in exchange for full formal independence[7]. The financial and human costs of the 1878–1880 campaign — substantial even by the standards of Victorian frontier warfare — reinforced Gladstonian Liberal critiques of forward-policy imperialism and contributed to the political arguments, never wholly settled, about whether the "scientific frontier" strategy was worth its recurring price[8].

Campaigns#

0 operational sequences

    Battles#

    6 catalogued engagements

    • Battle of Ali Masjid

      November 21, 1878

      The Battle of Ali Masjid opened the Second Anglo-Afghan War on 21 November 1878, serving as the British Empire's first offensive action following the Afghan general's refusal to admit a British envoy into the country. The fortress of Ali Masjid was the initial target, and its fall — secured when Afghan forces under Ghulam Haider Khan abandoned their position overnight — gave British forces under Lieutenant-General Sir Samuel Browne an early foothold in the campaign. The outcome was less a product of operational success than Afghan withdrawal: roughly half the British force was lost or delayed and missed the battle entirely, meaning the result hinged on the Afghan decision to evacuate rather than on British execution. Afghan casualties numbered around 300 against equal force sizes of approximately 3,000 on each side.

    • Battle of Peiwar Kotal

      November 28, 1878

      The Battle of Peiwar Kotal was an early engagement of the Second Anglo-Afghan War, fought between British forces under Major General Frederick Roberts and Afghan forces under Karim Khan. The British victory secured the Peiwar Kotal Pass, a strategic route into the Afghan interior, opening the way for further British operations deeper into Afghanistan during the opening stages of the war. Afghan casualties were recorded at approximately 200, while the British force of roughly 3,000 men overcame an Afghan contingent estimated between 4,000 and 5,000. The seizure of the pass marked a significant early success for the British, establishing Roberts as an effective field commander in the campaign.

    • Battle of Charasiab

      October 6, 1879

      The Battle of Charasiab was fought on 6 October 1879 during the Second Anglo-Afghan War, pitting a British and Indian force of approximately 3,800 troops under Lord Roberts against an Afghan force of around 12,000 regulars and tribesmen. The engagement took place within the broader context of the British effort to reassert control in Afghanistan following the outbreak of hostilities in 1878. Roberts's force was substantially outnumbered, and the battle represented a direct test of British operational reach as the campaign pushed toward Kabul. The outcome and its precise effect on the campaign are not recorded in available sources, but the action formed part of the advance that characterized British operations in this phase of the war.

    • Battle of Ahmed Khel

      April 19, 1880

      The Battle of Ahmed Khel was fought on the road between Kandahar and Kabul in central Afghanistan, placing it on a strategically critical axis of the Second Anglo-Afghan War. A British Empire force of approximately 7,200 troops under Donald Stewart engaged an Afghan force estimated at between 12,000 and 15,000. Afghan casualties of 2,000 to 3,000 indicate the engagement was decided in favor of the British Empire column, allowing continued movement along the Kandahar–Kabul corridor. Control of this route was central to British operational reach in the war, and the outcome helped sustain British access between the two principal cities of Afghanistan during the closing phase of the conflict.

    • Battle of Kandahar

      September 1, 1880

    • Battle of Maiwand

      July 27, 1880

      The Battle of Maiwand delivered one of the most severe defeats suffered by British forces during the Second Anglo-Afghan War. Ayub Khan's army of 25,000 regulars and irregulars overwhelmed Brigadier-General Burrows's force of 2,476 British and Indian troops, inflicting roughly 1,200 killed — casualties that made it a major operational setback for the British in Kandahar Province. The scale of the loss, with Afghan forces absorbing between 2,500 and 3,000 of their own casualties in the engagement, underscored the intensity of the fighting and the disparity in force sizes. Despite the defeat, the British recovered quickly; Ayub Khan was decisively beaten at the Battle of Kandahar on 1 September 1880, just over a month later. Maiwand thus stands as a significant but ultimately contained reverse within the broader arc of the Second Anglo-Afghan War, demonstrating both the vulnerabilities of British imperial expeditionary forces operating at extended reach and the limits of a single Afghan victory in determining the war's outcome.

    Famous commanders of Second Anglo-Afghan War

    10 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

    New Imperialism

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