 Emperor Zhaozong, however, subsequently resisted advice from the chancellor Cui Yin to wrest control of the Shence Armies from the eunuchs and put them under the command of the chancellors; instead, he commissioned the eunuchs Han Quanhui and Zhang Yanhong (張彥弘) as the new commanders of the Shence Armies.This eventually led to the deepening of the enmity between Cui and the eunuchs.The chief eunuchs entered into an alliance with Li Maozhen, while Cui entered into an alliance with Zhu Quanzhong the military governor of Xuanwu Circuit (宣武, headquartered in modern Kaifeng, Henan).