Treaty of Gandamak
The Treaty of Gandamak was signed on 26 May 1879, officially ending the first phase of the Second Anglo-Afghan War. Concluded between the British Government of India and the Afghan Amir, the agreement required Afghanistan to cede significant frontier territories and submit its foreign relations to British control.[1][2]
Background and British Occupation of Kabul
The conflict originated in the geopolitical rivalry between the British and Russian empires. In July 1878, a Russian delegation arrived in Kabul without the explicit invitation of Amir Sher Ali Khan.[1] To counter this initiative, the British Government of India demanded the acceptance of a diplomatic mission; when Sher Ali Khan denied entry at Ali Masjid in the Khyber Pass on 21 September, the British issued an ultimatum.[1] Sher Ali's response, delayed by the death of his son, lacked the required apology and did not reach the Viceroy in time.[1]
On 21 November 1878, the British Raj declared war on Afghanistan.[1] British forces advanced through the Khyber Pass toward Jalalabad and via Quetta toward Kandahar, occupying the Korram Valley and the Peiwar Kotal.[1] Unable to offer effective military resistance, Sher Ali Khan fled toward Turkestan to seek Russian aid; he died on 21 February 1879 near Balkh.[1] His son, Muhammad Yaqub Khan, succeeded him as Amir.[1] With British troops occupying Kabul and Yaqub Khan seeking to secure his position, preliminary correspondence began with the British commander regarding a peace settlement.[1]
Negotiations and Key Signatories
The treaty was signed on 26 May 1879 at a British army camp near the village of Gandamak, located approximately 70 miles east of Kabul.[1][3] The agreement was concluded by Amir Muhammad Yaqub Khan and Major Sir Louis P. L. N. Cavagnari, who represented the British Government of India.[2] Cavagnari, who would later serve as the British military administrator in Kabul, negotiated the terms on behalf of the British.[1] The treaty was formally ratified by Lord Edward Robert Bulwer-Lytton, the Viceroy of India, on 30 May 1879.[1]
The document established perpetual peace and friendship between the British Government and the Amir of Afghanistan and his successors.[2] It included provisions for a full amnesty for Afghan subjects who had interacted with British forces during the war, guaranteeing protection from punishment for such intercourse.[2]
Territorial Cessions and Foreign Affairs Control
A central component of the treaty involved significant territorial concessions and the surrender of diplomatic autonomy. Muhammad Yaqub Khan ceded control of several frontier districts to the British Raj, including Kurram, Pishin, Sibi, Harnai, and Thal-Chotiali (Loralai). The treaty also transferred control of the Khyber and Michini passes to Britain, securing British dominance over key entry routes into Afghanistan.
Regarding foreign relations, the Amir agreed to conduct his relations with all foreign states in accordance with the advice and wishes of the British Government.[2] He undertook to enter into no engagements with foreign powers and to take up arms against no foreign state without British concurrence.[2] In exchange, the British Government pledged to provide vague assurances of assistance in case of foreign aggression and an annual subsidy.[2][4]
The treaty also guaranteed the safety and honourable treatment of British agents within Afghanistan, while the British undertook not to interfere with the internal administration of the Amir's dominions.[2] Afghanistan was required to offer no impediment to British subjects trading peacefully within its borders, provided they obtained permission.[2]
Establishment of the British Embassy
To maintain direct relations and protect frontiers, the treaty mandated the residence of a British Representative in Kabul.[2] This representative was to be stationed with a suitable escort in a residence appropriate to his rank.[2] The British Government also reserved the right to depute agents with escorts to the Afghan frontiers whenever deemed necessary for the interests of both states.[2] Conversely, the Amir was permitted to depute an agent to reside at the court of the Viceroy of India.[2]
Sir Louis Cavagnari was subsequently appointed as the British Resident in Kabul, marking the establishment of a permanent diplomatic mission.[1] This presence was intended to ensure Afghan compliance with the treaty terms and to monitor the frontier.[2] However, the stationing of the British mission and the heavy security escort in Kabul eventually provoked strong nationalist sentiment among the Afghans, contributing to the diplomatic crisis that followed.[4]
Abrogation and Resumption of Hostilities
The British occupation of Kabul and the presence of the British embassy in the city led to growing unrest. In September 1879, an angry mob attacked the British Residency, resulting in the death of Sir Louis Cavagnari and most of his staff.[4] This massacre led to the complete breakdown of the treaty and the resumption of full-scale war.[1]
In response, the British launched a punitive expedition. The conflict culminated in the Battle of Kandahar in 1880, where British forces under General Frederick Roberts defeated the Afghan army.[1][4] As a result of the British victory, the Treaty of Gandamak was reaffirmed, and the British appointed Abdur Rahman Khan as the new Amir of Afghanistan.[1] Although Abdur Rahman accepted the treaty's territorial limits, he subsequently opposed British control over Afghan foreign policy, eventually forcing the British to concede greater autonomy in his internal and external rule.[1]