Let's talk about the Anshi rebellion first. An Anshi rebellion shattered Datang's dream of prosperity and national strength went from bad to worse. The chief culprit of Anshi Rebellion was the rebellion of military commanders, and the emperor was also very vigilant against military commanders. But the border guards must rely on military commanders, but the central imperial army does not have to rely on military commanders.
During the Anshi Rebellion, the imperial army forced Tang Xuanzong to kill Yang Guifei, which made Tang Gaozong afraid of the imperial army. If he wants to find a more suitable imperial commander, he must not be a military commander. In 779 AD, Tang Dezong Shili ascended the throne. At the beginning, he banned eunuchs from interfering in politics and reused competent ministers. Shi Li is full of energy.
But four years later, one thing made him completely change his view of military commanders and made eunuchs return to the center of power. At this time, the military commander Li defected again, which broke the last trust between the military commander Li He. After this incident, Tang Dezong completely lost confidence in the military commander. He felt that the biggest hidden danger of the whole Tang Dynasty was not outside, but the military commanders of this dynasty.
Seeing that the imperial guards patrol every day, I can't help but worry that I will rise up and rebel again one day. At that time, I was really helpless. Therefore, the imperial army must be reformed by military commanders, and the new commander-in-chief chose eunuchs for the simple reason that these eunuchs were obedient. This time, the imperial army became a eunuch force and planted a time bomb, making the rebellion dangerous. Since then, the Tang Dynasty has also handed over its own country to eunuchs.