The Reign of Emperor Zhaozong
Zhaozong set out to rebuild the power of the throne, raising new armies for the court and challenging the most powerful warlords. Each attempt failed, and each failure left him weaker.
The Campaigns against Chen Jingxuan and Li Keyong
Early in his reign the emperor tried to remove Chen Jingxuan, military governor of Xichuan in Sichuan and a relative of a eunuch who had dominated Xizong's court. Chen refused to hand over his post to Wei Zhaodu, and Zhaozong sent an army against him. The siege of Chengdu dragged on, the treasury ran low, and in 891 the court abandoned the campaign. The city fell soon afterwards to the general Wang Jian, who took Sichuan for himself.
At the same time the emperor, urged on by the chancellor Zhang Jun, launched a campaign in 890 against Li Keyong, the powerful military governor of Hedong. It ended in the defeat of the imperial army. Zhaozong was forced to restore Li Keyong's titles and to send Zhang Jun and his fellow chancellor Kong Wei into exile.
Yang Fugong and Li Maozhen
Yang Fugong had put Zhaozong on the throne, but the two soon fell out. In 891 the emperor forced him into retirement. Amid rumours that he was plotting rebellion, imperial guards attacked his mansion, and Yang fled to the south-west with his adoptive sons, who held commands there, and rose in revolt.
Li Maozhen, military governor of Fengxiang, offered to lead the campaign against them. The emperor was reluctant to give him more power, but had little choice, and by 892 Li Maozhen and his allies had defeated Yang's forces. Li Maozhen then demanded control of the conquered territory. In 893 Zhaozong sent an imperial army against him, but its inexperienced troops broke before Li Maozhen's veterans. Li Maozhen advanced on Chang'an and forced the emperor to put to death the chancellor who had advised the campaign.
A Captive Emperor
For the rest of the reign Zhaozong was at the mercy of the warlords. In 895 three military governors marched on Chang'an and killed two of his chancellors, and only the intervention of Li Keyong saved him. In 896 he fled the capital and spent two years under the control of Han Jian, the governor of Huazhou, who had a number of imperial princes killed.
In 900 the palace eunuchs deposed him and put the crown prince on the throne, and he was restored only after loyal officers killed the plotters early in 901. Late in 901 the eunuchs carried him off to Li Maozhen at Fengxiang to keep him out of the hands of Zhu Quanzhong, the most powerful warlord in the east. Zhu besieged Fengxiang until Li Maozhen surrendered the emperor early in 903. With Zhu's backing, the chancellor Cui Yin then had the palace eunuchs massacred, ending their long domination of the court.