Neijiang in yuan, Ming and Qing Dynasties
In 1279, China was unified and the Yuan Empire was established. After more than 30 years of war between the end of Song Dynasty and the beginning of Yuan Dynasty, the system of Zizhou and Puzhou has not been restored except Jianzhou. In the 22nd year of Emperor Shun's reign (1362). Xu Shouhui moved mingyuzhen to Sichuan and established the local separatist regime in Daxia. A large number of Huguang residents followed him to Sichuan, and Zizhou (including Neijiang county) and Anyue (including Shiyang county) restored the governance of prefectures and counties.
During the years of Longqing and Wanli of Ming Dynasty (1567-1619), the division framework of Neijiang and Zixian (Zizhou was rebuilt), Ziyang, Jianzhou (once changed to Jianxian), Anyue, Lezhi, Weiyuan, Longchang and other eight counties (prefectures) were basically fixed.
In the 16th year of Shunzhi of Qing Dynasty (1659), the land of Shu was established, and in the early years of Kangxi (1662), the officials of various states and counties in Neijiang City gradually came to their posts. In 1727, Zhili Prefecture of Zizhou (changed to Zixian and governed Ziyang, Neijiang, Renshou and Jingyan counties) was established.