 Tian Lingzi subsequently reorganized the Zhongwu troops that Wang Jian and the others commanded into a group of imperial guards directly under Tian's command, while sending imperial troops to attack Lu Yanhong, defeating him and forcing him to abandon Shannan West.Tian also adopted Wang and the others as his sons.Meanwhile, with Huang Chao having been defeated earlier, Emperor Xizong returned to Chang'an, in spring 885, with Tian and his troops accompanying him.