 Yuwen Gong and another local leader, Heba Duba (賀拔度拔), ambushed Poliuhan's general Wei Kegu (衛可孤) and killed Wei, temporarily restoring order.It was probably at this time that Yuwen Tai met and befriended Heba Duba's son Heba Yue (賀拔岳).Sometime after this incident, Yuwen Gong and his sons fled to Zhongshan (中山, in modern Baoding, Hebei), and were forced to join the army of another rebel general, Xianyu Xiuli (鮮于修禮).