In early Qing Dynasty, "Magong ("Ma" with the third tone in Chinese) City" was called "Magongcheng ("Ma" with the first tone in Chinese)." In the 13th year of the reign of Qing Emperor Guangxu (1887), December, walls and towers were constructed. After a century, most of the walls had been destroyed as a result of the passage of time. Now among six gates, only Shuncheng Gate remains as part of the city walls near the north gate.