Five years later, he was appointed as the Minister of Punishment and the Censor Zhongcheng, and became the third envoy again. At that time, Zhao Yuanhao proclaimed himself emperor, established the Xix

Five years later, he was appointed as the Minister of Punishment and the Censor Zhongcheng, and became the third envoy again. At that time, Zhao Yuanhao proclaimed himself emperor, established the Xixia Kingdom, and sent troops to Shaanxi, but the Song generals were repeatedly defeated. Yan Shu comprehensively analyzed the military situation at that time and found the reasons for the defeat. In view of the existing problems, after petitioning Renzong, he did four major things to strengthen the military: abolishing the internal ministers to supervise the army, giving the army commander the power to decide major military affairs; recruiting , train archers to prepare for war; clean up the long-term backlog of property in the palace to fund border troops; recover materials embezzled by various departments to enrich the national treasury. As a result, the Song army quickly put down the Xixia invasion. In the second year of Qingli (1042), Yan Shuguan paid homage to the prime minister and made matters smooth with the privy envoy. In the second year, he was appointed as Tongping Zhangshi, the Shangshu of the Ministry of Punishment of the Imperial Academy, Pingzhangshi under the Shumen of Jinzhong, a bachelor of Jixian Palace, and the envoy of the Privy Council. In the fourth year of Qingli, he was impeached by Sun Fu and Cai Xiang for writing and editing the epitaph of Concubine Li Chen, and was demoted to the position of Minister of the Ministry of Industry to know Yingzhou. Later, he was appointed as the Minister of Rites and the Ministry of Punishment to know Chenzhou and Xuzhou. At the age of 60, he became known to the Yongxing Army (today's Xi'an, Shaanxi) as the Minister of Hubu and the Great Scholar of Guanwendian. At the age of 63, he learned about Henan, moved to the Ministry of War, and was granted the title of Duke of Linzi. At the age of 64, he returned to Beijing for medical treatment due to illness, and stayed as an attendant at the Confucian Classics Banquet to teach Confucian classics and history to the emperor. His etiquette and entourage were treated the same as those of prime ministers. In the second year of Zhihe (1055), he died of illness in Kaifeng, Kyoto. Renzong went to pay homage in person, and he was posthumously awarded the title of Sikong and Shizhong, with the posthumous title of "Yuanxian". He also personally sealed the stele and said: "The stele of the old school". Although Yan Shu has been in a powerful position for many years, he is approachable. He promoted meritocracy, and Fan Zhongyan, Kong Daofu, Wang Anshi, etc. all came from his disciples; Han Qi, Fu Bi, Ouyang Xiu, etc. were cultivated and recommended by him, and they were all reused. Han Qi was re-elected as prime minister of Renzong, Yingzong and Shenzong; Fu Bi was Yan Shu's son-in-law, but Shu never avoided relatives when he promoted virtuous people. When Yan Shu was prime minister, Fu Bi was the deputy privy envoy, and later became the prime minister. Yan Shu made many achievements and contributions in literature. He is good at poetry and ci, his articles are classical and elegant, and he is good at calligraphy, but his ci is the most outstanding, and he is known as the "prime minister's poet". His poetry absorbed the elegant and flowing style of poetry of the "Huajian School" of the Southern Tang Dynasty and Feng Yansi, and created the graceful style of poetry of the Northern Song Dynasty. He is known as the "first ancestor of the Yisheng family of the Northern Song Dynasty". His lyrics are clear and beautiful, his tones are harmonious, his descriptions of scenes focus on the spirit, and he gives life to natural objects, forming his own characteristics. "The flowers fell helplessly, and the swallows returned as if they had known each other before" ("Huanxi Sand"), "Last night the west wind withered the green trees. I went up to the tall building alone and looked at the end of the world" ("Butterfly Love Flower"), "Reading the red candle of Orchid Hall makes my heart grow long. The short flames make people shed tears" ("Shaking Tingqiu") and other good sentences are widely circulated. He wrote more than 10,000 poems in his life, most of which have been lost, leaving only 136 "Zhuyu Ci". He is not only the pioneer of Song poetry, the leader of the Jiangxi Ci School, but also a prolific poet in the history of Chinese poetry. "Complete Poems of the Song Dynasty" contains 160 of his poems, 59 fragmentary sentences, and 3 preserved poems. There are only 53 prose pieces in "The Complete Song Dynasty". There is "Yan Yuan Xian's Posthumous Documents" compiled by the Qing Dynasty and published in the world. The world is known as the "Eight Yans of Fuzhou" (Yan Shu, Yan Jidao, Yan Ying, Yan Fu, Yan Jing, Yan Song, Yan Zhao, Yan Fang). Yan Shu served as an official in the court for more than 50 years, but he was always haunted by the mountains and rivers of his hometown. His poems include "Chongyin Temple" (in today's Jinxian County) and "Jinzhao Garden" (in today's Fuzhou City No. 1 Middle School campus). (Inside), "Magushan", etc., expressing their love for their hometown. The people in his hometown also miss and respect this "prime minister and poet". There is a street in Fuzhou City named "Tongshu Road". In addition, there are "Yan Shu Memorial Pavilion", "Jinzhaoyuan Poetry Monument", "Er Yan Bridge" (also known as "Er Immortal Bridge"), etc. [4]?