How much history does Meixian have?

Qin: Nanhai County, Meixian County belongs to Longchuan County of Nanhai County. Han: It belongs to Jieyang County, Nanhai County. Eastern Jin Dynasty: Haiyang County, Yi 'an County. The Southern Dynasty (AD 479-502) was called Chengxiang County (which was separated from Haiyang County and was the beginning of Meixian County). Sui: Same as above. Tang: It belongs to Chaozhou. In the Five Dynasties, the Southern Han Dynasty was dry and peaceful for three years (945): the township was promoted to Jingzhou, and the township was the leader. Song Kaibao four years (97 1): In order to avoid Song Taizu's grandfather Zhao Jingzhi, Jingzhou was renamed Meizhou (belonging to Guangnan East Road). In the sixth year of Song Xining (1073), the abandoned Meizhou moved to Chengxiang County, belonging to Chaozhou Prefecture. Song Yuanfeng moved to Meizhou in the fifth year (1082). In the second year of Song Xuanhe (1 120), Li Yi 'an County. Six years of Shaoxing in Song Dynasty (1 136): Abandoned state. Song Shaoxing moved to Meizhou in the 14th year (1 144). In the 16th year of Yuan Dynasty (1279), Meizhou was promoted to general manager office, Meizhou Road. In the 23rd year of Yuan Dynasty (1286), it was reduced to Sanzhou, still named Meizhou, a county in Lingcheng and rural areas, belonging to the Propaganda Department of Guangdong Province, Jiangxi Province. Zhenyuan Year (1295): Meizhou belongs to Chaozhou Road. Extension for five years (13 18): changed to Xuanwei Division of Guangdong Road in Zhili. In the second year of Hongwu in Ming Dynasty (1369), Meizhou was abandoned and Chengxiang County was restored, belonging to Chaozhou Prefecture in Guangdong Province. In the 11th year of Yongzheng in Qing Dynasty (1733), the holy town was Jiaying House in Zhili, which was the administrative history department of Guangdong in Zhili. In the 12th year of Jiaqing in Qing Dynasty (1807), it was promoted to Jiaying County, and Chengxiang County was restored as a county. Chengxiang County, Changle (now Wuhua), Xingning, Pingyuan and Zhenping (now Jiaoling) are collectively called "Jiaying Five Genus". In the 17th year of Jiaqing in Qing Dynasty (18 12), it was changed to Jiaying House in Zhili, which governed Chengxiang County, Changle County, Xingning County, Pingyuan County and zhenping county (now Jiaoling). In the first year of the Republic of China (19 12), Chengxiang County was renamed Meixian County. After the founding of the People's Republic of China, it was still called Meixian County, and 1983 was renamed Meixian City.