The Afghan Boundary Commission (or Joint Anglo-Russian Boundary Commission) was a joint effort by the United Kingdom and the Russian Empire to determine the northern border of Afghanistan. The Boundary Commission traveled and documented the northern border area during 1884, 1885, and 1886.
The commission was accompanied by Kazi Saad-ud-Din as the representative of the Amir of Afghanistan, but the Afghans did not have a real say in the matter. Tensions between Britain, Russia and Afghanistan grew in 1885, especially in the aftermath of the Panjdeh incident, in which several hundred Afghans were killed by a Russian army, witnessed by several members of the commission. From March until September, it seemed likely that this would lead to war between Russia and Britain, with the Commission at the epicentre (Britain controlled Afghanistan's foreign affairs following the Treaty of Gandamak). However, war was eventually averted.