 In 223AD, or the second year of the reign of Wu State King Huangwu of the Three Kingdoms period, it became known as Yanguan County.In 1295, or the first year of the reign of Yuan Emperor Yuanzheng, the county was promoted to be Yuanguan Prefecture.It became Haining Prefecture in 558.