Yi'nan died in 645. It was described that at this time, Bazhuo, born of Yi'nan's wife, was governing the western part of Xueyantuo, over the Xueyantuo people, while another son of Yi'nan, Yemang (), who was older but was not born of Yi'nan's wife, was governing the eastern part of Xueyantuo, governing the various tribes. Yemang was said to be violent and disturbed, and also having a bad relationship with Bazhuo. After the funeral, Yemang, fearing that Bazhuo would harm him, left suddenly to return to the eastern part of the khanate. Bazhuo chased him down and killed him, and then took the throne with the title of Jialijulixueshaduomi Khan (or Duomi Khan for short).