The banks of the Yellow River recovered by the imperial army were called Du Fu's "fastest poems in his life" by his predecessors. In the first month of the first year of Guangde in Tang Daizong (763), Shi Chaoyi committed suicide after defeat, and Tanabe and Li Huaixian surrendered one after another. Henan and Hebei were successively recovered by government troops, and the "Anshi Rebellion" that lasted for more than seven years was completely subsided.
At that time, the poet Du Fu and his wife lived in Zizhou, Sichuan Province. When he heard the good news of the victory, he couldn't help being ecstatic. In his extreme excitement, he changed the gloomy and implicit poetic style in the past and wrote this well-known masterpiece of seven laws in lively and hearty language.