
The Treaty of Gandamak (Gandomak; May 26, 1879) recognized Ya'qub
Khan as amir, 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 Sept. 3, 1879, the British
envoy and his escort were murdered in Kabul. British forces were again
dispatched, and before the end of October they occupied Kabul. Ya'qub
abdicated and was given exile in India, where he died in 1923.