An Lushan Rebellion
The poem was written after An Lushan Rebellion in 757 CE, which almost toppled the Tang Dynasty and is often seen as the beginning of Tang Dynasty’s long decline. It expresses Du Fu's hatred of war and his sympathy for the people.