How did the Anshi Rebellion that lasted for eight years caused the Datang Empire to fall from the prosperity?

The Tang and Han dynasties were the pinnacle of the feudal dynasty in China. The H...