In 221 BC, Qin Shi Huang unified the six kingdoms and divided the country into 36 counties, with counties under the county. At that time, in the middle and upper reaches of the Jing River Basin, a tributary of the Yellow River, Beidi County was established. In the early years of the Western Han Dynasty, Anding County was divided from Beidi County, with 21 counties under its jurisdiction, and Linjing County was one of them, in the territory of present-day Zhenyuan County.

During the Western Han Dynasty, Anding County had jurisdiction over a total of 21 counties, namely: Gaoping, Fulei, Anqi, Chaona, Jingyang, Linjing, Halo County, Wushi, Yinmi, Anding, Sanshui, Yinyu, Anwu, Zuli, Yande, Xuanhuan, Fuyi, Pengyang, Quail, and Yueyi. The county town was located in Gaoping at that time. Linjing Ancient County is a very famous county.
Linjing County, the people are brilliant, the people are pure. From the establishment of the second century BC in the early Western Han Dynasty to the abolition of Hongwu County in the Ming Dynasty, it has experienced more than 1500 years of vicissitudes. It is famous because during this long historical period, many major historical events have occurred and many famous figures have appeared. Man is based on the earth, and the earth is famous for man. There are more than twenty celebrities in the twenty-four histories of the country. For example, Wang Fu, one of the Three Sages of the Later Han Dynasty, Li Ke, a famous eastern Han general, Huang Fugui, a western Jin dynasty general, Hu Fen, a northern Dynasty Wenshi, Hu Shuo, a northern Wei minister, Hu Guozhen, a northern Wei emperor, Hu Chonghua, a northern Wei general, Hu Qian, a northern Qi general, a northern Qi minister, a southern Qi minister, a famous general, a famous general, a famous general, a northern Zhou liangchen Xi Gu, a middle Tang dynasty general, Xiang Bao, a Song dynasty "flying tiger general" Xiang Bao, a Song dynasty martial general Qu Duan, Yang Zheng, a famous Jin dynasty general Zhang Zhongfu, Zhang Zhongyan, and a Ming general Qiu Yu, and so on, and so on.
In addition, although the history of some famous scholars in Linjing County has not been passed down, its deeds have been recorded in the annals of history, and there are no shortage of people.
There have been many major historical events in Linjing County, with ruins everywhere and rich cultural relics.
In the first month of 25 AD, the baby was proclaimed emperor in Linjing. Shi Yun: Wang Mang usurped the Han Qunxiong punishment, and Liu Infant ascended the throne in Linjing City. Fang Wang bowed to Lin Feng's general phase, and even destroyed baby Guang Wuxing.
In the fourteenth year of the Eastern Jin Dynasty (418 AD), the King of Bactria Helian Bobo linjing, Chang'an, proclaimed himself emperor, drove the people to build Helian City on the north bank of the River in Linjing County (present-day Qijiachuan, Zhenyuan County).
In the second year of The Northern Wei Xuanwu Emperor Yongping (509 AD), the Jingzhou Assassin Shi Xi Kangsheng, who was born in Jingguan, excavated the North Grotto Temple of the Buddhist Cave in order to welcome Empress Hu, who was born in Linjing County, and the North Grotto Temple was located at the east bank of the confluence of the Pu River and the Ru River. In 1958, it was placed under the jurisdiction of Qingyang County (now Xifeng District, Qingyang City).
In the first year of the Northern Wei Dynasty (518 CE), Hu Guozhen died in Luoyang, and his daughter Hu Chonghua was buried with the coffin of his mother Emperor Fu and his father's coffin. His tomb is now announced as a provincial-level cultural relics protection unit.
In 525 AD, Wan Qian ugly slave Yu Linjing led an army to revolt and continued to expand. In Dangyuan ambushed and killed more than 20,000 officials and troops, beheaded the Northern Wei general Cui Yanbo, in 527 AD, claiming that Tianzi had prepared hundreds of officials and changed his name to Yuan Shenping.
In April of the second year of Emperor Wen of Sui's reign (582 CE), the Sui generals Han Shengshou and Li Quanbei defeated the Turks at Jitou Mountain and Hebei Mountain in the west of Linjing County. Jitou Mountain is in the present-day town of Kaibian, and Qin Shi Huang once climbed this mountain.
In 616 AD, Li Fei Shixiong, a Man of Stability, killed Linjing County Ling, raised an army, and declared himself a general.
In 774, Tubo attacked Linjing. Later, the Tang army defeated Tubo at Baili City.
In the second year of Emperor Xianzong of Tang (807 AD), the general hao wei of Linjing town suggested to Duan You, the envoy of Jingyuan Jiedu, that "Linjing is dangerous, the water and grass are beautiful, and Tubo will invade and occupy, and the Tang army must strengthen its defenses, build a strong city, and garrison the Tun army." Duan You, taking Hao Jue's advice, petitioned Tang Xianzong to build Linjing City, and was ordered to build Linjing City (Linjing Ancient City in the present-day west of the county seat) in 817 AD, and commanded troops to defend the city, Hao Jue was extremely cruel, slashing the tubo captives with their flesh and giving the bones to the enemy camp, and the Tubo soldiers were terrified and did not dare to enter Linjing.
In 1132, the Song and Shaanxi governors and the commander-in-chief Ma Yangzheng defeated the Jin soldiers at Fangshanyuan, and the government praised them.
During the Western Han Dynasty, the county administration of Linjing County was in the south of present-day Zhenyuan County, and the county administration of Anding County during the Eastern Han Dynasty was once located in Linjing.
At the end of the Tang Dynasty and the Song Dynasty, Yuanzhou ruled Linjing, which belonged to Qinfeng Road. The Bai's ancient tombstone (now in the Qingyang City Museum) excavated from the Song Dynasty Tomb Group in Wangxinzhuang Village, Miaoqu (Song Kaibian) Township, Zhenyuan County, clearly records that "Bai Chongli of the Kaibian Village of the Great Song Dynasty" is the physical evidence of the Song Dynasty's original prefecture seat in Linjing. Jin dynasty wonju is still in Linjing, which belongs to Qingyuan Road.
Linjing City is the county rule of Linjing County, which once set up the county rule of Anding County, and also set up the state rule of Wonju, which is also the state rule of Zhenyuan Prefecture. At the beginning of the Ming Dynasty, the town was changed to a county, and since then Linjing County has been abolished. However, the names of Linjing City and Linjing Street have been inherited until the Qing Dynasty and the Republic of China. In the early years of the Republic of China, Zhenyuan County was divided into five districts, and the county seat was the first district within a radius of tens of miles, also known as the Central District, and Linjing Town was established in the county seat in 1935. The first district has jurisdiction over 1 street and 16 villages, and the village management village. The first street is Linjing Street, which manages 22 zhuangs, namely Miaogou Zhuang, Miaoli Zhuang, Chen Jia Gou, Chen Jia Wan, Fan Yuanzi, Grasshopper Gou Gou, Huang Jiao Cha, Mao Jia Bao, Zhang Dong Zhuang, Manzhou City, Huang Jia Wan, Zhang Ye Mao Shan, Lotus Pond, Qin Jia Yuanzi, You Jia Ping, Chang Jia Shan, Xie Jia Shan Tou, Zhang Jia Shan, Huang Jia Cha, Qin Jia Gou Circle, Bai Jia Yuan, Bai Jia Xiao Zhuang. After the founding of the People's Republic of China, Linjing District was established, inheriting the name of Linjing Town during the Republic of China period. The district site was moved 10 kilometers east to the Kou Family Temple. In 1958, it was changed to Linjing Commune. In 1983, it was changed to Linjing Township.