 In 618, with most of Sui territory engulfed in agrarian rebellions, Emperor Yang was at Jiangdu (江都, the capital of Yang Province), and Yang Jian was with him.A coup led by the general Yuwen Huaji killed Emperor Yang, with Emperor Yang initially stating to Empress Xiao, "Does not Ahai do this?