 Around the new year 886, Li Keyong and Wang Chongrong engaged the joint Shence/Jingnan/Fengxiang forces, crushing them.As Li Keyong then approached Chang'an, Tian took Emperor Xizong and fled to Fengxiang, and then Xingyuan (興元, in modern Hanzhong, Shaanxi).Zhu Mei and Li Changfu, ashamed of continued alliance with Tian, subsequently turned against him and sought peace with Li Keyong and Wang Chongrong, and Tian was forced to resign and flee to Chengdu to join his brother Chen Jingxuan the military governor of Xichuan Circuit (西川, headquartered in modern Chengdu).