Aspects of this topic are discussed in the following places at Britannica.
...Mughals and the British. The first British advance northward into the Khyber took place in 1839, and during the First Anglo-Afghan War the pass was the scene of many skirmishes with the Afridis. The Treaty of Gandamak, which was signed during the Second Anglo-Afghan War in 1879, left the Khyber tribes under British control. In 1897 the Afridis seized the pass and held it for several months but...
The Treaty of Gandamak (Gandomak; May 26, 1879) recognized Yaʿqūb Khan as emir, and he subsequently agreed to receive a permanent British embassy at Kabul. In addition, he agreed to conduct his foreign relations with other states in accordance “with the wishes and advice” of the British government. This British triumph, however, was short-lived. On September 3, 1879, the...
...with a British invasion. Shīr ʿAlī fled his capital and country, dying in exile early in 1879. The British army occupied Kabul, as it had in the first war, and a treaty signed at Gandamak on May 26, 1879, was concluded with the former emir’s son, Yaʿqūb Khan. Yaʿqūb Khan promised, in exchange for British support and protection, to admit to his Kabul court...
We welcome your comments. Any revisions or updates suggested for this article will be reviewed by our editorial staff. Contact us here.
Regular users of Britannica may notice that this comments feature is less robust than in the past. This is only temporary, while we make the transition to a dramatically new and richer site. The functionality of the system will be restored soon.