Treaty of Livadia

Taking advantage of this revolt, Yakub Beg, commander-in-chief of the army of Kokand, occupied most of Xinjiang and declared himself the Emir of Kashgaria.

[2] Russia was officially neutral during the conflict, but as a result of the Treaty of Tarbagatai in 1864, had already gained about 350,000 square miles (910,000 km2) of territory in Xinjiang.

[5] The Qing counterinsurgency, led by General Zuo Zongtang began in September 1876 and concluded in December 1877, having completely retaken the lands that were lost.

The first treaty consisted of eighteen articles, and stipulated that:[8] The second treaty contained seventeen articles that focused on the logistics of conducting trade, such as tax issues, passport requirements, and certification procedures, the total effect of which was very preferential to Russian commercial interests and represented unprecedented access to the Chinese interior.

Military expenditures during that war had also drained the national treasury, so the fact that the terms of Livadia were so heavily in their favor came as quite a shock among government officials when they became widely known.

The government decided it needed to save face and following the Chinese proverb "kill the chicken to scare the monkey", ordered his execution.

Naturally, Russia wanted to keep the treaty terms, but their only options were to risk another war in Xinjiang, which they were ill-prepared to fight, or agree to China's request.

Given their financial situation and the fact that Ili was not crucial to Russian security, they agreed to discuss a new treaty, but on one condition: that Chonghou was pardoned and his life was spared.

[16] Historian S. C. M. Paine investigated the circumstances around the treaty and discovered that contrary to the official story, Chonghou was an experienced diplomat and had a career of over thirty years in negotiations with France, Britain, and the United States.

At the Zongli Yamen (Ministry of Foreign Affairs), Prince Gong, who had founded the ministry, had plenty of experience dealing with Russia during negotiations for the Convention of Peking in 1860, and during the Russian occupation period, there was plenty of communication between the two countries that Russian territorial and commercial demands should have been known long before negotiations started.

Chonghou, the Qing negotiator of the treaty