The second period is Du Fu's middle-aged old age, and the background of the times is also the period when the Tang Dynasty turned from prosperity to decline. The Anshi Rebellion broke out, the society in the Tang Dynasty fell into turmoil and disputes, Tongguan fell, Tang Jun retreated one after another, and finally put down the rebellion. However, the society in the Tang Dynasty has long been torn to death, the economy has declined, and the people are in dire straits. With Du Fu's later years, the society that had been tossed about in the Tang Dynasty was not as good as before. In the panic era, Du Fu was banished to Chengdu and eventually died in Chengdu.