 This drew the anger of Kong's fellow chief of staff, the more powerful An Chonghui, whom Kong had earlier dissuaded from giving a daughter to a son of Li Siyuan's (unclear whether it was Li Conghou) in marriage, and An had Kong ejected from the imperial government (which was then at Kaifeng) to be the defender of Luoyang.Shortly thereafter, Li Conghou was made the military governor of Xuanwu Circuit (宣武, headquartered at Kaifeng) and continued to command the imperial guards.Later in the year, he married Lady Kong as his wife; Kong Xun was allowed to attend the ceremony, but due to An's opposition, was not allowed to remain at Kaifeng, and shortly after had to return to Luoyang.