sentences:  While he killed a large number of high level officials and imperial Yang clan members, he did not kill Yang Gongren and made Yang Gongren the minister of civil service matters.After Yuwen advanced north of the elite Xiaoguo Army (驍果) but was defeated by Li Mi, he headed further north, and he left Yang Gongren defending Wei (魏縣, in modern Handan, Hebei).In 619, the Tang official Wei Zheng, however, persuaded another official Yuwen left at Wei, Yuan Baozang (元寶藏), to seize Yang Gongren and submit to Emperor Gaozu of Tang.