sentences:  Yuwen Huaji soon engaged the rebel leader Li Mi but suffered several defeats against Li and eventually forced to withdraw to Wei (魏縣, in modern Handan, Hebei).As he saw his military power waning, he became depressed.He then resolved to be emperor while he was still alive, and therefore poisoned Yang Hao, declaring himself emperor of a state of Xu.