It is believed that the stone net pendants, stone spinning wheels, and stone boat-shaped stones unearthed from Yideng Mountain and Daping indicate that ancestors thrived on this land in the late Neolithic Age.
Before the Qin Dynasty, Xinyi belonged to Baiyue. After Qin pacified Baiyue, in 214 BC (the 33rd year of Qin Shihuang), three counties of Guilin, Xiang and Nanhai were established in Baiyue. Xinyi belonged to Guilin County.
In the early Han Dynasty, Xinyi belonged to the territory of King Cangwu of Nanyue Kingdom. From 111 BC (the sixth year of Ding Dynasty in Han Dynasty) to the Three Kingdoms period, Xinyi belonged to Duanxi County, Cangwu County, Ministry of History of Jiaozhi (later changed to Jiaozhou) Prefecture.
In 346 AD (the seventh year of Jin Yonghe), Xinyi belonged to Duanxi County, Jinkang County, Guangzhou.
In 502 AD, Liangde County was established in the Luodou Baidong area of ??Duanxi County, with jurisdiction over Liangde Jimi County and Wude Jimi County (now Changpo, Dong'an, Dajing, Tantou and other towns in Gaozhou, and was renamed Liangde County in the Sui Dynasty).
Xinyi belongs to Jimi County, Liang De, and its county seat is in Tai'an Village. The first county magistrate was Chen Xi, the leader of Luo Dou Cave Cave Master Alliance.
Du Lao (for example, Tan Dian and Fu San later joined the Dongzhu Alliance) were nominally affiliated with Longzhou, but they were not naturalized or paid taxes.
In 598 (the 18th year of Emperor Kaihuang's reign in the Sui Dynasty), Liangde County was changed to Huaide County.
In 621 (the fourth year of Wude in the Tang Dynasty), the Tang Dynasty established the state and county system. Huaide County in Longzhou was divided into Nanfuzhou, and five counties including Xinyi, Huaide, Tan'e, Teliang and Fulai. Chen Longshu was appointed by the Tang Dynasty as Nanfuzhou.
The first governor of Fuzhou, in the 7th year of Wude, Chen Longshu's Nanfuzhou forced the officials to naturalize, which aroused the dissatisfaction of the Luodou officials and triggered a struggle among the leaders of the Xidian Alliance. The president of the Xidian Alliance led the officials to
Chen Longshu rushed back to Longzhou and occupied Nanfu Prefecture, but he also sent Nanfu Prefecture to Longzhou.
In the second year of Zhenguan, Li Guangdu, the governor of Yinzhou, and Chen Longshu joined forces to quell the rebellion of the Liao people, restored Nanfuzhou, and returned to rule from Longzhou.
In the fifth year of Zhenguan, the Xidong officials revolted again, and Chen Longshu was defeated and returned to Longzhou.
When Feng An entered the dynasty, Emperor Taizong of the Tang Dynasty ordered Feng An to quell the chaos, and Feng Anzhi defeated his officials.
In 634 (the eighth year of Zhenguan reign in the Tang Dynasty), Nanfu Prefecture was renamed Dou Prefecture. Its jurisdiction remained unchanged and it was under the jurisdiction of the Dudu Prefecture of Daorong County, Lingnan Province.
In the second year of Emperor Qianfeng of the Tang Dynasty (667), Fulai County was placed under the jurisdiction of Yuzhou.
In 665 (the fifth year of Yonghui's reign in the Tang Dynasty), Feng Shihui, the great-grandson of Mrs.
The culture and customs are similar to Gaozhou. After the Tang Dynasty, Douzhou can be regarded as an extension of Gaoliang civilization.
In 972 (the fifth year of Kaibao's reign in the Song Dynasty), Huaide, Tan'e and Teliang counties were abolished and merged into Xinyi County, still under the jurisdiction of Douzhou.
In 976 (the first year of Taiping's rejuvenation of the Song Dynasty), Xinyi County was changed to Xinyi County to avoid Song Taizong Zhao Guangyi's taboo.
In 1071 (the fourth year of Xining in the Song Dynasty), Douzhou was abolished and Xinyi was placed under the jurisdiction of Gaozhou on Guangnan West Road.
In the Yuan Dynasty, it belonged to Gaozhou Road, Hainan Road, Haibei Province, and in the Ming Dynasty, it belonged to Gaozhou Prefecture, Chengxuan Government Envoy, Guangdong Province.
During the Song and Yuan Dynasties, the Li area in the Jianjiang River Basin was Sinicized by the Guangfu system due to the development of the Maritime Silk Road, while the mountainous areas in the east and north were converted by the Yao people due to the large-scale migration of the Yao people.
In 1577 (the fifth year of Wanli in the Ming Dynasty), after the Luopang War, the five capitals of Xinyi (today's Baishi, Dacheng, Qianpai, Heshui, Xinbao, Pingtang, Dingkang, Xinfeng, Gaoyao, Congshan and Zhennan) were
, Sihe, Guizi, Wangsha, Zhusha, An'or, Hongguan, Chashan, Huaixiang, etc.) Chidong part, Gaozhou's Magui, Guding, Shenzhen and Luoding's Fuhe, Jiayi, Fenbin, Xinle
This area was assigned to the newly established Xining County. A large number of Chen Lin's Hakka soldiers who participated in the Luopang War were naturalized. The Ming Dynasty set up outposts in the above area and the Huaixiang Inspection Department of Xining County forced the local Yao people to sinicize.
In 1757 (the 22nd year of Qianlong's reign in the Qing Dynasty), with the approval of the imperial court, the four cities of Dingkang, Xinfeng, Gaoyao and Congshan were returned to the jurisdiction of Xinyi.
Along the old map, the southern part of the town still remains in Xining County.
In the Qing Dynasty, Xinyi was affiliated to Gaozhou Prefecture, Guangdong Province.
In the 11th year of Xianfeng in the Qing Dynasty (1861), Chen Jinzhen, the leader of the Guangdong Tiandihui, led the Tiandihui volunteers to capture Xinyi City, rebuilt the Dahong Kingdom, and called himself the King of Nanxing.
Xian Tai Temple is a recruitment hall.
After 1912 (the Republic of China), Xinyi came under the jurisdiction of the Gaozhou Military Government, Gaozhou Appeasement Office, Gaoleidao, South Road Appeasement Committee Office, the "Eight-Government" Rehabilitation Supervision Office, and the Seventh District Administrative Inspectorate Office.
In December 1927 (the 16th year of the Republic of China), under the leadership of the Guangdong Provincial Committee of the Communist Party of China, the people of Xinyi held the Huaixiang Uprising and established the Xinyi County (Huaixiang) Soviet Government and the Workers' and Peasants' Revolutionary Army (later known as the Red Army)
), Luo Keming was appointed county magistrate, and Zhu Yechi was appointed commander.
The Agrarian Revolutionary War was persisted with Yunkai Dashan as the base. Chen Mingshu sent troops to "encircle and suppress" the situation. The situation worsened. Zhu Yechi was arrested in Guangzhou Bay and taken to Gaozhou to die. Luo Keming went to Hong Kong to report the situation to the Guangdong Provincial Party Committee, and the troops were organized into
The zero-persistence struggle moved to two countries (China, Vietnam), two provinces (Guangdong, Guangxi) and Nanyang. During the Anti-Japanese War, it was organized into the First Department of the Guangdong South Road People's Anti-Japanese Liberation Army. During the Liberation War, it was organized into the First Department of the Guangdong-Guangxi Border Column of the Chinese People's Liberation Army.
.
On October 22, 1949, the liberation of Xinyi County came under the jurisdiction of the South Road District of Guangdong Province, the Gaolei District, and the Zhanjiang District.
On November 15, 1958, Xinyi and Maoming counties were merged into Gaozhou County, with Gaozhou City as the county seat.
On April 1, 1961, Xinyi County was separated from Gaozhou County and re-established. The administrative office was in Dong Town. Guding Commune (including the three towns of Guding, Magui and Shenzhen) in the original Xinyi County was placed under the jurisdiction of Gaozhou County.