ever accepted by an Afghan ruler, essentially making the Afghan Amir a feudatory of the British Crown. Settlements "His Highness the Amir of Afghanistan and its depen-dencies engages, on the exchange of the ratifications of this Treaty, to publish a full and complete amnesty, absolving all his subjects from any responsibility for intercourse with the British forces during the war, and to guarantee and protect all persons of whatever degree from any punishment or molestation on that account. His Highness the Amir of Afghanistan and its depen-dencies agrees to conduct his relations with Foreign States in accordance with the advice and wishes of the British Government. His Highness the Amir will enter into no engagements with Foreign States, and will not take up arms against any Foreign State, except with the concurrence of the British Government. On these conditions the British Government will support the Amir against any foreign aggression with money, arms, or troops, to be employed in whatsoever manner the British Government may judge best for this purpose. Should British troops at any time enter Afghanistan for the purpose of repelling foreign aggression, they will return to their stations in British territory as soon as the object for which they entered has been accomplished." —First section of the treaty Under the provisions of the treaty the Amir surrendered control over Afghani foreign relations policy and allowed for a British Mission, with European members, to reside in Kabul. Jurisdiction over the Korram and Pishin valleys, the Sibi district, and the Khybar pass were transferred to the British. The treaty provided for increased commercial contacts and the establishment of a telegraph line between Kabul and British India. Mohammad Yaqub Khan was to issue amnesty to all those who had collaborated with the British occupying forces. The British Mission led by Cavagnari arrived in Kabul on 24 July 1879, but less than two months later Cavagnari and all members of his Mission were massacred when on 3 September 1879 a dissatisfied regiment of the Amir's army from Herat stormed the mission compound. The massacre set the stage for another British invasion of Afghanistan and the expulsion of Mohammad Yaqub Khan to India. It culminated in the British appointment of Abdur Rahman (ruled 22 July 1880 – 1 October 1901), a patrilateral cousin of Yaqub, as Amir of Afghanistan. Abdur Rahman accepted the provisions of the Treaty of Gandamak - with the