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 Russians' departure from the area followed the 1881 Treaty of Saint Petersburg. In 1882, the military center was moved to Suiding (now Shuiding), located north of the river, and a new fortress and town were built in Huiyuan, also near the river.