He put palace eunuchs in command of their army, hoping they might have significantly more success, but all they finished up doing was undermining the authority of this emperor by asserting their particular military energy. Dezong had been succeeded by his sickly son Shunzong in 805 CE, who quickly abdicated and only their own son Xianzong (r. 806-820 CE).
Emperor Xianzong is among the very few good emperors regarding the Tang that is later Dynasty. He eliminated the control that is eunuch of armed forces and took individual control for the army. He then led their forces from the warlords and subdued them, stabilizing the united states. Then he reinstated the merit system of imperial appointments which Wu Zetian had initiated and was indeed such an important aspect of Xuanzong’s successful reign. China started initially to gradually regain some way of measuring the prosperity it had understood under Xuanzong’s early guideline as Xianzong restored respect for the authority associated with the throne.
In 813 CE, revolts started to probably break out instigated by previous warlords or their loved ones, and Xianzong again led their military physically into battle but ended up being beaten.