 Heba made Yuwen Tai his assistant, and later on, after Erzhu defeated Yuan Hao, allowing Emperor Xiaozhuang to return to Luoyang, Yuwen was created the Viscount of Ningdu.In 530, Erzhu Rong sent his nephew Erzhu Tianguang, with Heba and Houmochen Yue (侯莫陳悅) as assistants, to attack the rebel general Moqi Chounu (万俟醜奴), who then occupied the western provinces.Yuwen continued to serve under Heba.