At the end of the Qin Dynasty, after the death of Qin Shihuang Yingzheng, the second Qin Emperor Hu Hai succeeded to the throne. He was ignorant and immoral, which made the people miserable, with excessive taxes and heavy taxes. The people were miserable. Uprisings occurred frequently in various places, social unrest, and the Qin Empire was on the verge of collapse.