 With the people's hearts shaken by the great defeat, in fall 578, Emperor Xuan held a ceremony in which the officials reaffirmed their loyalty to the state.In winter 579, Emperor Xuan of Northern Zhou (Emperor Wu's son and successor) launched an attack on Chen, commanded by the general Wei Xiaokuan.Chen's Emperor Xuan mobilized his troops to resist.