then the military governor of Huguo Circuit (護國, headquartered in modern Yuncheng, Shanxi). The dispute stemmed from the desperate financial situation that the imperial government was in by this point—with only Chang'an and the immediately surrounding region under the imperial government's control and submitting taxes to it (and the other circuits withholding their usual tax submissions to the imperial government, the imperial government was unable to pay the salaries of the army that Tian had amassed, which included the Shence Armies and personal armies that Tian himself had recruited). Tian tried to partially solve the problem by ordering Wang to return control of salt ponds at Huguo Circuit, previously under imperial control, to the imperial government, so that its proceeds could be used to pay imperial armies. Wang refused and spoke against Tian publicly. Tian, in retaliation, had Emperor Xizong order that Wang be transferred to Tianping Circuit. Wang refused the transfer and, allied with Li Keyong, prepared for a confrontation with the imperial armies under Tian, as well as 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, Shanxi). Around new year 886, they defeated Tian and his allies and approached Chang'an. Tian took Emperor Xizong and fled to Xingyuan (興元, in modern Hanzhong, Shanxi). Zhu and Li Changfu subsequently turned against Emperor Xizong and declared his distant relative Li Yun the Prince of Xiang emperor at Chang'an, and initially it appeared that military governors were ready to recognize Li Yun as emperor instead. Faced with a situation he could not handle, Tian resigned his position as the commander of the Shence Armies and fled to Xichuan to join his brother Chen Jingxuan. Tian was succeeded by Yang Fugong (the brother of Yang Fuguang, who was deceased by this point). Yang Fugong, utilizing the friendships that Yang Fuguang had with Wang Chongrong and Li Keyong, was able to persuade them to again recognize and support Emperor Xizong. Subsequently, Zhu's subordinate Wang Xingyu assassinated him and forced Li Yun to flee to Huguo, where Wang Chongrong killed him, ending his challenge to Emperor Xizong. Subsequently, Emperor Xizong's general Li Maozhen defeated Li Changfu and took over Fengxiang. Emperor Xizong himself returned to Chang'an in spring 888. One month after Emperor Xizong returned to Chang'an, he died of illness. Yang