sentences:  Yang Gongren was considered honest and was not tolerated by Pei Yun, and therefore was instead commissioned to lead the army against agrarian rebels in the modern Hunan region.He was, however, defeated by the rebel general Zhu Can at Qiao Commandery (譙郡, roughly modern Bozhou, Anhui), and forced to flee to Emperor Yang's then-location at Jiangdu (江都, in modern Yangzhou, Jiangsu).In spring 618, the general Yuwen Huaji killed Emperor Yang in a coup and declared Emperor Yang's nephew Yang Hao the Prince of Qin emperor.