The Yuanhe restoration is the reign of 805-820 of Xianzong (Li Chun) of the Tang — the house's one real revival after the An Lushan rebellion. On taking the throne Xianzong read the records of his predecessors and measured himself against Zhenguan and Kaiyuan: Du Huangshang, Pei Du and Li Jiang as chancellors, the state's discipline re-tightened. In arms the aim was to cut the garrisons down: Liu Pi of Xichuan pacified in 806, Li Qi of Zhenhai in 807 — the easy first; in 817 in the Huaixi campaign Pei Du went to the front in person and Li Su's snow-night ride took Cai prefecture and captured Wu Yuanji, the classic action of Tang military history; in 819 Li Shidao of Ziqing was destroyed, and the garrisons submitted in train — the three Hebei towns doing homage in name at least: for the first time in the forty years since the rebellion, the court's orders ran to the whole realm. The revival had its limit: in his last years Xianzong honored the Buddha's bone (Han Yu memorialized against it and was exiled), took elixirs and grew violent — and in 820 was murdered by the eunuchs; the Hebei three revolted again at once, and the court fell back into eunuch rule and faction feud. The Yuanhe restoration is mid-Tang's last stiffening — and its age held the great letters: Han Yu, Liu Zongyuan, Bai Juyi, Liu Yuxi, letters and politics moving in step.