stylistic:tone
Early history

Human settlement in the Harbin area dates from at least 2200 BC during the late Stone Age. Wanyan Aguda, the founder and first emperor (reigned 1115–1123) of the Jin dynasty (1115–1234), was born in the Jurchen Wanyan tribes who resided near the Ashi River in this region. In AD 1115 Aguda established Jin's capital Shangjing (Upper Capital) Huining Prefecture in today's Acheng District of Harbin. After Aguda's death, the new emperor Wanyang Sheng ordered the construction of a new city on a uniform plan. The planning and construction emulated major Chinese cities, in particular Bianjing (Kaifeng), although the Jin capital was smaller than its Northern Song prototype. Huining Prefecture served as the first superior capital of the Jin Empire until Wanyan Liang (the fourth emperor of the Jin Dynasty) moved the capital to Yanjing (now Beijing) in 1153. Liang even went to destroy all palaces in his former capital in 1157. Wanyan Liang's successor Wanyan Yong (Emperor Shizong) restored the city and established it as a secondary capital in 1173. Ruins of the Shangjing Huining Prefecture were discovered and excavated about 2 km (1.2 mi) from present-day Acheng's central urban area. The site of the old Jin capital ruins is a national historic reserve, and includes the Jin Dynasty History Museum. The museum, open to the public, was renovated in late 2005. Mounted statues of Aguda and of his chief commander Wanyan Zonghan (also Nianhan) stand in the grounds of the museum. Many of the artifacts found there are on display in nearby Harbin.

After the Mongol conquest of the Jin Empire (1211–1234), Huining Prefecture was abandoned. In the 17th century, the Manchus used building materials from Huining Prefecture to construct their new stronghold in Alchuka. The region of Harbin remained largely rural until the 19th century, with over ten villages and about 30,000 people in the city's present-day urban districts by the end of the 19th century.