Skip to content
— CH. 1 · INTRODUCTION —

Emirate of Afghanistan

~5 min read · Ch. 1 of 6
6 sections
  • The Emirate of Afghanistan was born on the 14th of March 1823, when Afghan forces lost the Valley of Peshawar to the Sikh Empire at the Battle of Nowshera. It was a humbling start for a state that had only just emerged from the ruins of the Durrani Empire. The new rulers, the Barakzai dynasty, inherited a fractured land split apart by the civil wars that followed the sons of Timur Shah. And almost immediately, they found themselves at the center of one of the great geopolitical contests of the nineteenth century.

    Two empires, Russia and Britain, were competing for supremacy across Central Asia. Afghanistan sat directly in the middle. The questions that shaped the next hundred years were not simply about who ruled in Kabul. They were about whether Afghanistan could survive at all, and what kind of state it might eventually become. The answers came slowly, through three devastating wars, a series of internal coups, and a succession of emirs who each navigated the same impossible pressure from outside powers. By the time it was over, the emirate had given way to a kingdom, and one man had finally secured the full independence his predecessors had spent decades fighting for.

  • Britain occupied Kabul in 1838, driven by fears that Russia was extending its influence into Afghanistan through the Iranian Shah Muhammad. The British installed Shah Shujah Durrani as a puppet ruler, replacing the emir Dost Mohammad Khan. The calculation was straightforward: better a compliant leader in Kabul than a rival power at the doorstep of British India.

    The First Anglo-Afghan War, fought between 1838 and 1842, did not go as planned. The occupation turned into a disaster for British forces, and by 1842 they withdrew, unable to hold the country. Dost Mohammad returned to the throne. The British, rather than renewing the fight, chose a different approach: building ties with the emir and allowing him to work toward unifying a state that had been fractured by years of civil war.

    Dost Mohammad spent the remainder of his reign doing exactly that. When he died in 1863, he left behind an emirate that was, if not entirely stable, at least more coherent than the one he had inherited. His son Sher Ali Khan succeeded him, though the transition was anything but smooth.

  • Three years after Sher Ali Khan took the throne, his older brother Mohammad Afzal Khan overthrew him. When Mohammad Afzal Khan died of cholera in 1867, power passed to another brother, Mohammad Azam Khan. By 1868, popular support had shifted back toward Sher Ali, and Mohammad Azam Khan was himself removed. Sher Ali returned from a period of exile in Russia to reclaim the position.

    His second reign brought him into direct conflict with Britain again. On the 21st of November 1878, British forces marched into Afghanistan, and Sher Ali was forced to flee. He died the following year, 1879, in Mazar-i-Sharif. His successor, Mohammad Yaqub Khan, moved quickly to negotiate. On the 26th of May 1879, he signed the Treaty of Gandamak, handing control of Afghanistan's foreign affairs to the British Empire in exchange for a subsidy and a military withdrawal.

    The arrangement collapsed within months. The British envoy Sir Louis Cavagnari was killed in Kabul on the 3rd of September 1879. Fighting resumed, and it was Abdur Rahman Khan, not Yaqub Khan, whom the British eventually accepted as emir. A peace settlement came in 1880, and British forces withdrew again in 1881.

  • Abdur Rahman Khan came to power in the wake of British withdrawal and immediately set about consolidating control. His reign was defined by the suppression of numerous uprisings across the country. He was not a ruler who tolerated dissent, and the historical record makes clear that he used force extensively to hold the state together.

    In 1893, the British forced the emirate into a new border agreement, creating what became known as the Durand Line. The line cut directly through historic Pashtun settlement regions, dividing communities that had long existed on both sides. It defined the boundary between Afghanistan and what is now Pakistan, a division that would prove enduring and contested.

  • Long before Abdur Rahman's standardized black banner, the emirs of Afghanistan carried flags that blended Islamic faith with the realities of war. Records from the reign of Dost Mohammad Khan describe triangular red and green military flags bearing the Islamic confession of faith, the shahada, alongside the names of the four caliphs and Quranic verses related to holy war, all rendered in white.

    At the Battle of Ghazni on the 23rd of July 1839, two banners were captured from Ghulam Haidar Khan and seized by John Smith. One was a triangular dark-red flag with a green circle at the center, inscribed with the names of the four Islamic caliphs. The other was a blue standard with designs in red and white, repeating the first part of the Islamic declaration of faith fifteen times.

    On the 7th of April 1842, at the Battle of Jalalabad, Armourer Sergeant Henry Ulyett captured a flag from Mohammad Akbar Khan's followers after the standard-bearer was killed in action. It was a red triangular flag with dark green outer layers, carrying a light blue prayer niche at the center with a dark yellow text featuring the Basmala and verses from the Chapter of As-Saff. The inscription read: "In the name of God, the Most Gracious and Most Merciful, Help from Allah, and a victory near at hand." That same flag, or one closely matching it, appeared again in the Second Anglo-Afghan War, and records from Sher Ali Khan's reign describe his standard as triangular, red and green, with Quranic inscriptions.

  • Habibullah Khan II succeeded his father Abdur Rahman Khan in 1901 and continued a policy of reform while seeking closer ties with Britain. By 1905, he had signed a peace treaty with Russia, a country whose defeat in the Russo-Japanese War had weakened its position across Central Asia. When the First World War broke out, Afghanistan remained neutral, despite efforts by Germany and the Ottoman Empire to draw the emirate in, including the Niedermayer-Hentig Expedition.

    Amanullah Khan did not stop there. He began reforming the country and in 1926 was crowned Padshah, meaning king, founding the Kingdom of Afghanistan and becoming its first monarch. The emirate that had emerged a century earlier from the wreckage of the Durrani Empire had become something new, no longer beholden to any outside power, and no longer an emirate at all.

Common questions

When was the Emirate of Afghanistan established?

The Emirate of Afghanistan emerged from the Durrani Empire after the Barakzai dynasty prevailed in Kabul. It is dated from 1823, when Afghan forces lost the Valley of Peshawar at the Battle of Nowshera on the 14th of March 1823. Before 1834, it was known as the Principality of Kabul.

What was the Treaty of Gandamak and what did it give Britain?

The Treaty of Gandamak was signed on the 26th of May 1879 by Emir Mohammad Yaqub Khan and the British Empire during the Second Anglo-Afghan War. It gave Britain control of Afghanistan's foreign affairs and ceded Afghan territories in present-day Pakistan, in exchange for a subsidy and a British military withdrawal.

How did the Emirate of Afghanistan gain full independence?

Emir Amanullah Khan signed the Anglo-Afghan Treaty of 1919 following the Third Anglo-Afghan War, which lasted three months. The treaty restored Afghanistan's full right to conduct its own foreign affairs and ended its status as a de-jure British protectorate.

What is the Durand Line and how did it relate to the Emirate of Afghanistan?

The Durand Line is a border imposed on Afghanistan by the British in 1893. It cuts through historic Pashtun settlement regions and defines the boundary between present-day Afghanistan and Pakistan. The emirate was forced to accept it under British pressure during the reign of Abdur Rahman Khan.

Who were the main emirs of Afghanistan during the emirate period?

The principal emirs included Dost Mohammad Khan, who founded the emirate and died in 1863; Sher Ali Khan, who signed no treaty but fled before dying in Mazar-i-Sharif in 1879; Abdur Rahman Khan, who suppressed uprisings and accepted the Durand Line; Habibullah Khan II, who maintained neutrality in World War One; and Amanullah Khan, who ended the emirate in 1926 by founding the Kingdom of Afghanistan.

What did the flags of the Emirate of Afghanistan look like?

Early flags were triangular and featured red and green colors with Quranic inscriptions and the names of the four Islamic caliphs in white. The first use of a coat of arms on a flag came under Abdur Rahman Khan, who used a solid black banner with a white emblem at the center. That emblem became the origin of later Afghan state insignia.

All sources

17 references cited across the entry

  1. 2webSTATE-BUILDING AND STATE-FORMATION IN AFGHANISTAN: WHAT WENT WRONG?Wania Yad — University of Delaware — 2025
  2. 3bookAfghanistan: A History from 1260 to the PresentJonathan Lee — Reaktion Books — 2019
  3. 4bookDictionary of Wars. Revised EditionGeorge Childs Kohn — Routledge — 2013
  4. 5bookInsurgents, Terrorists, and Militias: The Warriors of Contemporary CombatRichard H. Shultz et al. — Columbia University Press — 22 August 2006
  5. 6encyclopediaThe First Anglo–Afghan WarCraig Baxter — Claitor's Pub. Division — 2001
  6. 8webA Selection of Historical Maps of Afghanistan – The Durand LineCynthia Smith — Library of Congress — August 2004
  7. 9bookEncyclopedia of the Cold WarRuud van Dijk et al. — Routledge — 13 May 2013
  8. 10bookHistorical Dictionary of AfghanistanLudwig W. Adamec — Scarecrow Press — 1 January 2012
  9. 11bookAryana, ancient Afghanistanʻabd al-Raḥmān Pazhvāk — 1959
  10. 12bookYear Book of the Muslim WorldMohammed Nasir Jawed — Medialine — 1 January 1996
  11. 13harvnbBarthorp (2002) p. 27 & 64Barthorp — 2002
  12. 14webAfghanistanWorld Statesmen
  13. 15bookA Brief History of AfghanistanShaista Wahab — Facts on File — 2010
  14. 16bookHistorical Dictionary of AfghanistanLudwig W. Adamec — Lanham, Md.: Scarecrow Press — 1997