王承宗
Once emperor, Emperor Xianzong set out to curb the power of the military governors ("Jiedushi"), and, when they would not heed his orders, he waged wars against them. His initial campaigns were quite successful, and Xianzong's army defeated warlords such as Liu Pi, Yang Huilin () in 806 and Li Qi in 807. In 813, after the submission of one of the key holdouts, Weibo Circuit (魏博, headquartered in modern Handan, Hebei) under Tian Xing, Emperor Xianzong appeared poised to reunite the empire, many parts of which had effectively been ruled independently by regional warlords. Xianzong's first setback was in 813 when he failed to defeat military governor Wang Chengzong. However, by 817, after the defeat of Li Shidao and Wang's submission, all of the empire was under imperial authority again. Later historians referred to Emperor Xianzong's reign as the Yuanhe Restoration ().