Treaty of 18 August 1866