 In 566, Emperor Wen died and was succeeded by his son, Crown Prince Chen Bozong, as Emperor Fei.The high-level officials that Emperor Wen left in charge, including Chen Xu, eventually became locked in a power struggle, and in 567, Chen Xu killed Liu Shizhi () and Dao Zhongju () and seized control.In winter 568, he had an edict issued in the name of Emperor Wu's wife Grand Empress Dowager Zhang Yao'er that deposed Emperor Fei and he took the throne as Emperor Xuan in spring 569.