The Russians left pursuant to the 1881 Treaty of Saint Petersburg (1881), and in 1882 the military-administrative center moved to Suiding (now known as Shuiding), some  north of the river, while a new Huiyuan fortress and the adjunct military-administrative town were rebuilt near the center of modern Huiyuan about  north of the river.
The headquarter of the General of Ili moved back to the new Huiyuan fort in 1894 after the construction completed.