In 632, he led his tribe to submit Tang in Hexi, himself going to Chang'an while his mother Lady Feng and brother Qibi Shamen (契苾沙門) left behind to handle tribal affairs.He was created a general and was stationed in Liangzhou.