Bai Juyi's position in the Tang Dynasty?

Bai Juyi (772 ~ 846), Han nationality, was born in Xinzheng, Henan (now Xinzheng, Zhengzhou) in his later years. He was a great realistic poet in China in the Tang Dynasty and a famous poet and writer with far-reaching influence in the history of China literature. His poems have a wide range of themes, diverse forms and plain language, and are known as "poet magic" and "poet king". Official to Hanlin bachelor, Zuo Zanshan doctor. Life is divided into two periods, with Sima being demoted to Jiangzhou at the age of 44. The early period is the period of helping the world, and the later period is the period of being independent. Bai Juyi was a 29-year-old scholar in the 26th year of Zhenyuan. He has served as secretary of the provincial school, secretary of Wei and bachelor of Hanlin. During Yuan He's reign, he was left to clean up the mess and wrote a lot of satirical poems, including Qin Zhongyin's famous poem 10 and 50 poems of new Yuefu, which made the dignitaries gnash their teeth and regret their wrists. In the sixth year of Yuanhe, Bai Juyi's mother died in Chang 'an because of mental disorder. According to the rules at that time, Bai Juyi returned to his hometown for three years and returned to Chang 'an after the funeral. The emperor arranged for him to be a doctor. In June of the 10th year of Yuanhe, when Bai Juyi was 44 years old, Prime Minister Wu and imperial envoy Zhong Cheng Pei Du were assassinated. Wu died on the spot and Pei Du was seriously injured. For such a big event, the eunuch group and the old bureaucratic group in power at that time kept calm and were in no hurry to deal with it. Bai Juyi was very angry. For the sake of law and order, he urged the authorities to strictly arrest the murderer. However, instead of praising his enthusiasm for state affairs, those in power say that he is an official of the Eastern Palace, and it is trespassing to talk about state affairs in front of the admonishers. So he was demoted to the state secretariat. Wang Ya said that her mother fell into the well while looking at flowers and died. He wrote poems about flowers and wells, which hurt filial piety. Such people are not worthy of governing the county, so they are demoted to Jiangzhou Sima. In fact, the reason why he offended was those allegorical poems. The official demotion to Jiangzhou dealt a great blow to Bai Juyi. He said that he "eliminated the troubles and happiness on the surface and the right and wrong in his chest", and his early Buddhist and Taoist thoughts also grew. Three years later, with the help of his good friend Cui Qun, he was promoted to the secretariat of Zhongzhou. In the fifteenth year of Yuanhe, Tang Xianzong died suddenly in Chang 'an, and Tang Muzong succeeded to the throne. Mu Zong loves talents, recalled Chang 'an, and became a foreign minister, doctor, doctor and sinologist. However, at that time, North Korea was in chaos, with ministers fighting for power and profit and infighting. Mu Zong is politically lazy and doesn't listen to advice. Therefore, Mu Zong was appointed as the secretariat of Hangzhou in the second year of Changqing, and Suzhou was appointed as the secretariat after the expiration of Hangzhou. In his later years, he was divided into the eastern capital by the Prince. A 70-year-old official. Compared with the previous period, he is much more negative, but after all, he is a poet who has made a difference and actively pleaded for the people. Some of his poems at this time still show his concern for the country and the people. He is still diligent in political affairs and has done many good things, such as dredging six wells dug by Li Bi and solving the problem of drinking water for the people. He built a long dike on the West Lake to store water and irrigate the fields, and wrote down the easy-to-understand Stone of Qiantang River, which was carved on a stone to tell people how to store water and drain water. He thought that as long as the dike was as good as law, it would not suffer from drought. This is the famous "Bai Causeway".