1027 (the fifth year of Tiansheng), Wen Yanbo was appointed as the magistrate of Yicheng County and sentenced to Jiangzhou. Later, he was appointed as the censor and promoted to the censor in the temple.
At that time, the western border was at war for years. If a lieutenant in the army got cold feet and hoped that the enemy would not move forward, it was customary for the general to ask the court for instructions before dealing with it. Wen Yanbo said: "This method is still feasible when there is nothing wrong. But now we have been fighting for several years, and generals will lead hundreds of thousands of troops. If we don't have the power to handle these matters independently, we won't concentrate our efforts and the military law will not be strict. How can we succeed? " Song Renzong thought what he said was reasonable and accepted his suggestion. At that time, Huang Dehe was in conflict with Ping Liu. He falsely accused Ping Liu of surrendering to Liao, bribing slaves in Ping Liu with a gold belt, so as to reach an agreement with himself and prove that Ping Liu had defected to the enemy. More than 200 people from Liu Ping's family were tied up and put into prison. Song Renzong ordered Wen Yanbo to set up a court by the river for trial. Through careful examination, Wen Yanbo learned the truth of the matter. However, Huang De and many associates tried to overturn Wen Yanbo's trial conclusion, so that they mobilized the court to send another suggestion to handle the case in the river. Wen Yanbo refused and said, "The imperial court is worried that the lawsuit will not be successful, so it sent you. Now that the case has been decided, you should go back to the court immediately. If the case repeats itself, I Wen Yanbo would rather take responsibility. " The slaves of Huang De and Ping Liu were finally punished for this. Soon, Wen Yanbo was appointed as the deputy ambassador of Hedong Transshipment History Museum. Linzhou's grain transportation road is tortuous and far away, but outside the Yincheng River, there is an ancient grain transportation road in the Tang Dynasty, which was abandoned without finishing. Wen Yanbo's father, Wen Yue, considered building this old road when he was a transshipment ambassador, but he died before construction started. Wen Yanbo inherited his father's wishes and restored the old road, so he saved a lot of money. When Li Yuanhao invaded, it besieged our country 10 days. When it knew that the city was ready, it retreated.
Soon, he was appointed Tianzhangge, and everyone was transferred. He was promoted to Longtuge, Bachelor of Council, the first year of Qin Zhou, and soon became Yizhou. I used to play football in the official residence under the jurisdiction of the government. When I heard the sound outside the door, I found that the soldier whipped a soldier, and the soldier pleaded not guilty. Wen Yanbo let them in, asked what happened, and ordered the soldier to be pulled out and whipped, but the soldier still pleaded not guilty. Wen Yanbo beheaded him and went home after playing ball. 1055 June, Wen Yanbo once again served as an official and minister, a department of the General Staff Department, a department of the General Staff Department, and a college student of Zhaowen Museum. He and Fu Bi were appointed on the same day, and all scholars and officials thanked the court.
1056 (in the third year of Zhengzheng), in the first month, when Injong was visiting the court, he suddenly fell ill and was taken into the palace. Wen Yanbo called Shi Zhicong, the in-house waiter, to find out the situation. Shi Zhicong said, "I can't disclose what happened in the palace." Wen Yanbo scolded: "You come and go in the imperial court, but you don't let the Prime Minister know the physical condition of the son of heaven. What is the purpose? " From today on, if your majesty's condition worsens, you must tell me, otherwise, you will engage in military law. "He and his colleagues Liu Ling and Fu Bi plan to open Daqing Hall, set up prayers and stay in the hut outside Daqing Hall. Shi Zhicong said: "There has never been such a precedent. "Wen Yanbo said:" Can we consider any precedent at this time? "Wang Su, the magistrate of Kaifeng Prefecture, hit the palace gate in the middle of the night and claimed to report the rebellion. Wen Yanbo wouldn't let him in. The next morning, Wang Su said that the imperial guards told him that he was in danger of creating a crisis. Liu Ling advocated the arrest and trial of Du Yu. Wen Yanbo called Xu Huaide and asked what kind of person Du Yu was. Xu Huaide said that he can guarantee that Du Hou will not rebel. Wen Yanbo said, "So this matter is that the guard bears a grudge and falsely accuses Du Hou. We should kill this guard at once to stabilize the public. "So I asked Liu Ling to make a conclusion on this case and behead the guards in front of the army.
Prior to this, Fu Bi adopted the strategy of Li Zhongchang, an official, and crossed the Liuluo Canal from the Shanghu River in Zhou Zhou to make it flow into the Henglong Ancient Road. Jia Changchao, who stayed in Beijing, has always held a grudge against Fu Bi, secretly colluded with Wu Jilong, the chamberlain, and instructed Si Tianguan and other courtiers to discuss the affairs of state affairs. Yu Dianting preached that the country should not open canals in the north, which led to Injong's poor health. Wen Yanbo understood their intention, but did not take any measures to stop it. A few days later, the two SiTianGuan wrote again, asking Empress Injong to handle politics together, which was also inspired by Wu Jilong. Shi Zhicong showed the ruling minister Si Tianguan's letter. After reading it, Wen Yanbo kept secrets from other colleagues, but showed a happy look. He unhurriedly called two SiTianGuan for questioning and said, "Do you have something to say today?" The two officials replied, "Yes." Wen Yanbo said: "Astronomical variation, your duty is to truthfully reflect it. But how can you casually participate in state affairs? Your crime should implicate the whole family. " The two SiTianGuan were afraid and their faces changed. Wen Yanbo said, "I think you are just crazy and stupid, and you can't bear to punish him, but you can't do this anymore." After the two SiTianGuan walked out, Wen Yanbo showed SiTianGuan's letter to the same column. Everyone was very angry and said, "How dare these guys write books like this? Why don't you chop them up?" Wen Yanbo said: "If they are beheaded, things will make a big deal, which may cause the queen anxiety." Everyone said, "That's very thoughtful." Soon the court agreed to send SiTianGuan to verify the location of Liuluoqu and sent two people there. Wu Jilong asked to stay on their behalf. Wen Yanbo said: "They dare not talk nonsense. Someone instructed them to do so." Wu Jilong was silent, afraid to answer. Two four days in Liuluoqu, dare not pursue the crimes committed in front of them. On the contrary, they say that Liuliu is located in the northeast, not just north of the capital.
Renzong recovered from his illness, and Wen Yanbo and other talents came home from Daqing Temple. In the past few days when Injong was ill, the officials and people in Beijing were very worried. By Wen Yanbo and Fu Bi self-serious, everyone's mood is peaceful. After Liu Ling recovered from his illness, he secretly told Injong: "When your majesty was in poor health, Wen Yanbo beheaded those who reported rebellion at will." When Wen Yanbo heard this, he handed Liu Ling's verdict to Injong, and Injong's doubts were eliminated. Wu Zhongfu demanded that Tang Jie be recalled to the imperial court. Wen Yanbo therefore thinks that most of Tang Jie's past suggestions and impeachment of ministers are aimed at the faults of ministers, some of which are hearsay and inevitably untrue. However, ministers also accused him too much at that time, so please treat him as Wu Zhongfu wished. At that time, people thought Wen Yanbo was virtuous. After a long time, Wen Yanbo was appointed as our special envoy for the three cities of Heyang, and was named Duke Lu, changed the town to Baoping, and was named Daming House. Soon, he changed the town to virtue, was promoted to the servant of Shangshu, and was sentenced to Taiyuan House. Soon, Baoping Town was included in Henan Province. Resigned in mourning because of the death of his mother.
1063 (the eighth year of Jiayou), Injong died, Song Yingzong Zhao Shu acceded to the throne, and Wen Yanbo was appointed as our ambassador to Germany. Wen Yanbo went to the table many times and asked the court to allow him to continue mourning.
When Injong was in poor health, Wen Yanbo and Fu Bi asked for a crown prince. Injong agreed, but there was another pregnancy in the harem, and this matter was dragged down. Soon, Wen Yanbo left, and later, Fu Bi also left because of the funeral. Wen Yanbo was reinstated after his funeral and sentenced to Henan Province. Yingzong ordered him to appear before the court. Yingzong said to him, "I was made a prince because of you." Wen Yanbo replied seriously: "Your Majesty was made a prince and inherited the imperial system, which is the wish of Emperor Renzong and the praise of Empress Dowager Cao. I have no credit. Moreover, your majesty was made a prince, and when he inherited reunification, the minister was not in the court. Han Qi and others were ordered to act according to the will of the first emperor, and the minister did not participate. " Yingzong said, "It's already good for me that you let the first emperor make a choice and start making suggestions." Wen Yanbo avoided modestly, afraid to think that he had made contributions to Yingzong. Yingzong said, "You will go to the West for the time being, and you will be recalled by the imperial court soon." Soon, Wen Yanbo was promoted to assistant middle school, Huainan Town was changed, Yongxing Army was sentenced, Tang Dynasty was appointed as a Tang Dynasty envoy, and Jiannan Xichuan was appointed as our envoy.
1069 (the second year of Xining), Yingzong appointed Chen Shengzhi as Prime Minister. The imperial edict said: "Wen Yanbo is a famous minister admired by the world, which makes Chen Shengzhi's official position lower than Wen Yanbo, in line with my courtesy." Wen Yanbo said: "The status of envoys in the Tang Dynasty is not above that of prime ministers. Only once on Wang Zeng and Zhang. I don't know etiquette, but I dare not imitate Cao Liyong's behavior of disturbing court etiquette. " He resolutely refused to put himself above Chen Shengzhi. When Xixia invaded Dashun, General Li Fugui awarded the battle plan and master plan to Li Xin and others and ordered them to fight. After the failure, falsely accused Li Xin of being guilty. Wen Yanbo exposed the right and wrong, while Prime Minister Wang Anshi deliberately killed Li Xin and others. And the Qin people thought it was all wrong. When riots broke out in Gyeongju, Wen Yanbo said to Zongshen: "The administration of the imperial court must conform to the people's hearts. We should adopt all kinds of opinions at the same time and put quietness first. Your majesty has made great efforts to govern, and the people are in dire straits. I'm afraid the law has changed too much. The law of the ancestors may not be implemented, but it is biased and incomplete. " Knowing that these words were directed at him, Wang Anshi got up and retorted, "You can do whatever you want for the people. If everything drags on, it will be the wind of national subjugation in the Western Jin Dynasty. What are the benefits to the governance of the country? " Zhang Shangying wanted to cling to Wang Anshi and instructed the Privy Council to shake Wen Yanbo with something else. Zhang Shangying was condemned because the facts were untrue.
Wen Yanbo worked in the Sichuan government for nine years, but finally he asked to resign because of a heated argument. The reason was that the municipal company's selling of fruit was harmful to the country, which caused people's resentment and Wang Anshi's jealousy. Song Shenzong appointed him as Sikong, Hedong, Heyang and Daming. Although Wen Yanbo was not in the imperial court, Zongshen paid more and more attention to him.
At that time, there were many newly promoted teenagers in the Ministry of Supervision, so the transfer judge Fuzhi Wang told Wen Yanbo not to mess around. Zong Shen instructed Wen Yanbo to give this form, saying, "Because of your old kindness, please keep the north gate of the capital, and don't worry about small things. Wang Fuzhi has a low official position and dares to be so rude. He will be dealt with separately. " Not long after, Wang Fuzhi was removed from office. At the beginning, there was a candidate named Li Gongyi who demanded to rule the Yellow River with iron claws. Eunuch Huang Huaixin inherited the practice of iron claws and made a deepened Sichuan rake. Everyone laughed and talked that harnessing the Yellow River was a joke, and only Wang Anshi believed it. Fan Ziyuan from Du Shuicheng was sent to implement this law. Fan Ziyuan said that Tian Jun's rake can make the river return to its original path. Tens of thousands of hectares of land were flooded. When Zongshen ordered Daming House to verify, Wen Yanbo said: "The Yellow River cannot be dredged by dredging Sichuan Rake. Even the most stupid people know that it has no effect. I dare not follow others' nonsense to deceive your majesty. "About Wen Yanbo's performance introduction, Zongshen was not happy after reading it. In addition, Kumamoto and others were sent to investigate, and the results of the investigation were just as Wen Yanbo said. Fan Ziyuan then sought audience with the emperor, saying that Xiong Ben and others saw Wang Anshi's dismissal from office and speculated that Wen Yanbo would be prime minister, deliberately attaching Wen Yanbo's statement. When Kumamoto and others were ordered to inspect, it was illegal for Cai Zhen to impeach them. Kumamoto and others were punished, except Wen Yanbo. Soon, I added Stuart. 1080 (in the third year of Yuanfeng), Wen Yanbo was sworn as Qiu, and then he was sentenced to Henan. At that time, Wang Tong always talked about the establishment of the Crown Prince from Renzong to Hehe, and Wen Yanbo happened to enter the DPRK. When Zongshen asked him about it, Wen Yanbo told Zongshen what he had said to Yingzong before: "Where is the fate of Yingzong, the state power is there. This is really the power of Emperor Renzong to understand his son's wisdom and the support of Empress Dowager Cixi. What contribution can the minister make? Zong Shen said: "Although this is a fate, it also depends on people's efforts." . You have a profound personality and don't preach your kindness. Your virtue is like Bingji. You are really the minister of decision-making and the dependence of the country. "Wen Yanbo said," only people like frequency and Huo Guang are courtiers who make decisions. From 2000 to 2000, many people inside and outside the imperial court suggested the establishment of a crown prince. Although I also suggested it, it was not implemented immediately. Later, Han Qi and others finally achieved great things, mainly because of Han Qi's achievements. Zong Shen said: "It was more difficult at the beginning. At that time, the intention of Emperor Renzong was fixed. In the last years of Jiayou, it was just a repetition of the previous imperial edict. Just like Bingji and Huo Guang, they don't hide their achievements. "So Wen Yanbo, two towns to make our time, Wen Yanbo refused. He will work in Henan, Zongshen will hold a banquet in Joan Lin Yuan, and twice send eunuchs to give his poems to Wen Yanbo. At that time, everyone felt honored.
When Wang Zhongzheng was in charge of border affairs, wherever he went, he claimed that he was secretly recruited and took them to the Western Regions. Wen Yanbo refused to recruit in Henan Province because he didn't see the imperial edict. Wang Zhongzheng dared not recruit and left. After a long time, Wen Yanbo begged to resign and go home, took an official position with a surname and lived in Luoyang. Shao Yong, a native of Luoyang, and his brother Cheng Hao treated Wen Yanbo with respect for Confucian orthodoxy.
Zongshen wanted to let Luoshui pass through Bianjing, but the prison army blocked Luoshui from entering Luoyang. People in Luoyang are very worried about it. Wen Yanbo reflected this situation by taking advantage of eunuch Liu Weijian's visit to Los Angeles. Liu Weijian told Zongshen about it, and Zongshen specially ordered Luoshui to pass as usual, which made Luoyang City infinitely convenient.
1086 (the first year of Yuan You) In April, Sima Guang recommended Wen Yanbo, saying that he was a veteran of the Soviet Union and Germany, and he should be reused to assist the court. Empress Ren Xuan will appoint Wen Yanbo as the chief executive of the three provinces, but the political commentator thinks it is impossible, so he is appointed as the military affairs of Pingzhang, making a pilgrimage once on the 6th and giving lectures twice in the palace in January. Song Zhezong is very kind to him. But Wen Yanbo asks to resign every year. 1090 (the fifth year of Yuan You), Wen Yanbo once again took the surname of protecting the national army and saving Shannan West Road. 1097 (born four years less), Zhang Dun was in charge of state affairs. The official called Wen Yanbo and Sima Guang cronies, opposed Wang Anshi's political reform and slandered Zongshen, so he was demoted from a surname to a prince of Shaobao. In April of the same year, Ding Si (16 June) and Wen Yanbo passed away at the age of 92.
During Song Huizong's Chongning period (1102-1106), when Cai Jing was the prime minister, Wen Yanbo, Lv Gongzhu, Sima Guang and others were called "Yuan You party member", and party member, Yuan You, was inscribed, and Yuan You was forbidden to study. Later, Huizong ordered Wen Yanbo to be expelled from the Party and his surname was restored, and posthumous title was loyal.
1722 (sixty-one year of Emperor Kangxi in Qing Dynasty), Wen Yanbo and 40 heroes of the past dynasties worshipped in the Emperor Temple, among which Lv Mengzheng, Li Ling, Kou Zhun, Wang Zeng, Fan Zhongyan, Fu Bi, Han Qi and Sima Guang were ministers of the Northern Song Dynasty.