Tang Gaozu
In the reign of Emperor Wu of the Han Dynasty, it was sealed in Lianran County for two years (109 BC). Then, in the reign of Emperor Gaozu of Tang, it was renamed Anning County for four years (621 AD). In the Yuan dynasty (1275 AD), the county was promoted to a state. In the 2nd year of the Republic of China (1913 AD), the county was restored. On April 20, 1950, Anning County People's Government was established. In October 1956, Anning County was changed to Anning District of Kunming City. In September 1959, it was renamed Anning County. On October 13, 1995, the county was withdrawn from the city and established under the jurisdiction of Kunming City.