It took Margary six months to make the 1800-mile journey through the provinces of Sichuan, Guizhou and Yunnan, after which he met Browne in Bhamo in late 1874.
According to Jonathan Spence, Margary was part of a survey team exploring routes from Burma into Yunnan.
The crisis was only resolved in 1876 when Thomas Francis Wade and Li Hongzhang signed the Chefoo Convention, which covered a number of diplomatic/political items.
The British demanded, and got, according to Spence, an indemnity of 700,000 taels of silver, a mission of apology to Queen Victoria, and four more treaty ports.
There is a monument in Tengyue to remember the bravery of those ethnic groups of Tai, Jingbo, Han and Chinese Muslims, fought to stop and kill Margary and his followers.