When Emperor Aizong of the Tang Dynasty was in power, the Tang Dynasty was in its twilight years and the country's fortunes were declining. The feudal vassals and towns were in charge of their own affairs, supporting their own troops and respecting themselves, and did not take the imperial court seriously at all. Zhu Wen and other powerful ministers stirred up troubles in the court, formed cliques for personal gain, and bought and sold official positions, causing the court to be full of chaos and extremely corrupt. The people were living in dire straits. They had to bear heavy taxes and taxes, and faced the threat of war breaking out at any time. They were miserable. In such troubled times, the resistance of the people is slowly gathering in the dark, waiting for only an opportunity to erupt like a prairie fire.