In the ninth year of Queen Qin Huiwen's reign (3 16 BC), Qin annexed the enlightened dynasty of ancient Shu and established Ba County and Shu County in Bashu's hometown. After reunification, Shu County and Hanzhong County were established, and Nanxi was located in Shu County. In the 6th year of Jian Yuan (BC 135), Emperor Wu of the Han Dynasty established "Southwest Yi" and established Qianwei County. This county belongs to Qianwei County, and Daoxian County belongs to Nanqi. Bodao County is the earliest record of Nanxi historical civilization.
During the Liang Wudi period (502-557 AD), Nanguang County was located in Yuandao County (now Fuxikou to Guilunchang), 24 kilometers west of this city, which was the beginning of Nanxi County. It can be seen that the earlier Nanxi county is established, the better, and it belongs to an earlier place among the counties in southern Sichuan. At the same time, we set up Liu Tong County to administer Nanguang County. In the 10th year of Datong (544), Rongzhou was established (under the jurisdiction of Yibin City), and Nanguang County was under the jurisdiction of Rongzhou. Huang Kaichu (58 1-600) abandoned Liutong County, and Nanguang County directly belonged to Rongzhou. At the beginning of Sui Renshou (60 1-604), Nanguang County was changed to Nanxi County (named because it was located in the south of Fuxi) in order to avoid the prince. Since then, the word Nanxi has officially appeared in history books as a place name, and it has been used ever since. It can be seen that Nanxi, as a county name, was named earlier and relatively constant. At the beginning of Daye (605-6 17), Rongzhou was renamed Qianwei County, and Nanxi County was under the jurisdiction of Qianwei County.
From the name of Nanguang County to Nanxi County, to the name of Nanxi County, and then to the Song, Yuan, Ming, Qing and Republic of China 1300 years, but for decades, the name of Nanxi County has never changed, and the county government office has basically remained unchanged. At the same time, its county governance construction is very distinctive, and the relative stability of this historical development has laid a good foundation for the smooth development of Nanxi history and the creation of brilliant achievements. In the long history after 1500 years, Nanxi, rooted in this good geographical condition and historical accumulation, has given full play to its own intelligence, composed a touching historical melody and left us a rich historical heritage. First of all, we felt the great achievements of county government construction.