Tian Lingzi
In 885, by which time Huang Chao had been defeated and Emperor Xizong had returned to Chang'an, the powerful eunuch Tian Lingzi, who dominated Emperor Xizong's administration, offended the warlord Wang Chongrong the military governor of Hezhong Circuit (河中, headquartered in modern Yuncheng, Shanxi) and then tried to transfer Wang. Wang resisted, and he and his ally Li Keyong the military governor of Hedong Circuit (河東, headquartered in modern Taiyuan, Shanxi) subsequently defeated the armies of Tian and Tian's allies Zhu Mei the military governor of Jingnan Circuit (靜難, headquartered in modern Xianyang, Shaanxi) and Li Changfu the military governor of Fengxiang Circuit (鳳翔, headquartered in modern Baoji, Shaanxi) and approached Chang'an. Tian took Emperor Xizong and initially fled to Fengxiang, and then to Xingyuan (興元, in modern Hanzhong, Shaanxi).