Qing China signed the Treaty of Livadia with the Russian Empire, but the terms were so unfavorable that the Chinese government refused to ratify the treaty.
Qing dynasty
The Qing dynasty, officially the Great Qing, was a Manchu-led imperial dynasty of China and an early modern empire in East Asia. Being the last imperial dynasty in Chinese history, the Qing dynasty was preceded by the Ming dynasty and succeeded by the Republic of China. At its height of power, the empire stretched from the Sea of Japan in the east to the Pamir Mountains in the west, and from the Mongolian Plateau in the north to the South China Sea in the south. Originally emerging from the Later Jin dynasty founded in 1616 and proclaimed in Shenyang in 1636, the dynasty seized control of the Ming capital Beijing and North China in 1644, traditionally considered the start of the dynasty's rule. The dynasty lasted until the Xinhai Revolution of October 1911 led to the abdication of the last emperor in February 1912. The multi-ethnic Qing dynasty assembled the territorial base for modern China. The Qing controlled the most territory of any dynasty in Chinese history, and in 1790 represented the fourth-largest empire in world history to that point. With over 426 million citizens in 1907, it was the most populous country in the world at the time.
Treaty of Livadia
The Treaty of Livadia was an unequal treaty between the Russian Empire and the Chinese Qing dynasty signed in Livadiya, Crimea, on 2 October 1879, wherein Russia agreed to return a portion of the lands it had occupied in Xinjiang during the Dungan Revolt of 1862–1877. Even though Qing forces obtained the area. As a result of its disapproval, the Chinese government refused to ratify it and the emissary who made the negotiations was sentenced to death. Seventeen months later, the two nations signed the Treaty of Saint Petersburg, which apart from territorial matters, largely had the same terms as the Treaty of Livadia.
Russian Empire
The Russian Empire was an empire that spanned most of northern Eurasia from its establishment in November 1721 until the proclamation of the Russian Republic in September 1917. At its height in the late 19th century, it covered about 22,800,000 km2 (8,800,000 sq mi), roughly one-sixth of the world's landmass, making it the third-largest empire in history, behind only the British and Mongol empires. It also colonized Alaska between 1799 and 1867. The empire's 1897 census, the only one it conducted, found a population of 125.6 million with considerable ethnic, linguistic, religious, and socioeconomic diversity.