Zhu Wen Grand General of the Imperial Guards and deputy field commander of the armies stationed at Hezhong, also conferring the new personal name Quanzhong – "wholeheartedly loyal." On May 3, 883 Zhu was appointed prefect of Bian Prefecture (汴州, in modern Kaifeng, Henan) and military governor of Xuanwu Circuit (宣武, headquartered at Bian Prefecture), the appointment to take effect after the expected recapture of Chang'an. It was already known that Huang planned to escape east to Henan through the Lantian pass and the court needed someone to defend the canal route from the south-eastern granaries. As a former rebel with local knowledge of the area in question, Zhu was a natural choice. It could not have hurt his chances either that Quanzhong had actively sought the patronage of Wang Chongrong, one of the chief architects of the imperial offensive, who he took to calling “uncle” (Quanzhong's mother was also named Wang). Tang forces entered Chang'an half a month after Zhu's appointment and on August 9 Zhu duly arrived at Bian. Xuanwu governor Campaigns against Huang Chao As seen above Zhu Quanzhong arrived at Bian more than three months after his appointment. The delay probably was related to various duties assigned to him in between, but may also have been due to bargaining over how many men of his own men he was to be allowed to bring with him to his new command. When he surrendered, Zhu brought with him an army of several thousand men, but by the time he left for Bianzhou this army must have been largely dispersed or absorbed into the imperial armies, for he brought with him to Bian only a few hundred men including a core of at least eighty military retainers. These retainers would provide crucial leadership in his early years at Bian. The majority of them had probably served with Zhu under Huang Chao, but some, such as Pang Shigu (), were new recruits. To the Xuanwu command belonged one of the strongest armies in the region and Zhu now set about making sure that this army become loyal to him personally. The army consisted of two sections: the governor's guard and the main field force, the former acting as the governor's bodyguards. Zhu appointed several of his military retainers as guards officers, such as Ding Hui who was made administrator, and Hu Zhen () who was made a commander. Zhu