"a Treaty of Peace had been signed in Gandamak"
The Treaty of Gandamak was signed on 26th May 1879 at a British camp near Gandamak, Afghanistan. It marked the end of the first phase of the Second Anglo-Afghan War. It was signed by Mohammad Yaqub Khan (the Amir of Afghanistan) and Sir Pierre Louis Napoleon Cavagnari, a British military administrator. The Treaty allowed a British envoy to enter Kabul.
In the picture to the left, the Amir is seated in the centre and Cavagnari second from the left.