household to Zhu for Zhu to return with them to Chang'an. Zhu personally escorted the emperor's train back to the capital. Subsequently, after a joint petition by Zhu and Cui Yin, all palace eunuchs—including the ones who had not participated in Han Quanhui and Zhang Yanhong's plot to force the emperor to Fengxiang and who had remained at Chang'an—were slaughtered, and the imperial guards were put under Cui's command. Moving the imperial court to Luoyang After Emperor Zhaozong returned to Chang'an, he heaped honors and titles on Zhu Quanzhong, including the titles of Deputy Generalissimo of all Circuits (諸道兵馬副元帥, with Emperor Zhaozong's son Li Zuo () the Prince of Hui serving titularly as Generalissimo) and Prince of Liang. Meanwhile, Zhu's ally Cui Yin was (in Cui's own estimation) in control of the capital and dominated the imperial court. Zhu shortly after departed Chang'an and headed back to Xuanwu, to deal with Wang's uprising, while leaving his nephew Zhu Youlun () at Chang'an with 20,000 Xuanwu soldiers, to continue to defend/control the emperor. Once Zhu returned to Xuanwu, he gathered his army to get ready to capture the two Wang Shifan-held circuits, Pinglu and Taining. However, in summer 903, Wang, in alliance with Yang Xingmi's general Wang Maozhang, crushed and killed Zhu Youning in battle, giving Wang Shifan's badly outnumbered army a brief reprieve. Wang Maozhang, however, then judged the situation to be hopeless and withdrew his Huainan army, leaving Wang Shifan to face Zhu alone. Further, shortly after, Yang would be battling a rebellion against him by his generals Tian Jun the military governor of Ningguo Circuit (寧國, headquartered in modern Xuancheng, Anhui) and An Renyi () the military prefect of Run Prefecture (潤州, in modern Zhenjiang, Jiangsu) and be unable to again aid Wang Shifan. Wang Shifan was forced to surrender to Zhu, and, while Zhu allowed him to remain military governor of Pinglu for the time being, would not again pose a threat to Zhu. Meanwhile, Cui had begun to see the army that Zhu left at Chang'an to be a threat to the security of the imperial government and of himself, and therefore had been trying to recruit a new army to replace the decimated imperial guards and Shence Armies. Zhu realized this and began to suspect Cui of getting ready to turn against him. Further, Zhu Youlun died in a polo accident in winter 903—an accident