In 661, after the chief of Tang's vassal Huige, Yaoluoge Porun () died and was succeeded by his nephew Yaoluoge Bisudu (), Yaoluoge Bisudu broke away from Tang and allied with two other tribes, Tongluo () and Pugu () in attacking Tang's northern boundary. Emperor Gaozong commissioned the general Zheng Rentai () to be in charge of an operation against Huige, while making the Xue and Liu Shenli () Zheng's deputies. When they encountered Huige's coalition forces—which by this point appeared to include all nine major tribes of Tiele—the coalition challenged Tang forces to a small battle, with Tiele sending out their 10 fiercest warriors. Xue personally engaged them and killed three of them with three arrows, intimidating the Tiele coalition and causing them to submit—but after their surrender, he ordered to kill all the ten and several thousands people. From this incident, a military song was written to praise Xue's ferocity, including the words: The general is able to pacify Tian Shan with three arrows, and the warriors sing their long songs as they enter the boundaries of Han. After the army returned to Tang territory, however, Xue was charged with killing those who had already surrendered and seizing the spoils of war and arrested for a time, but was eventually released after Emperor Gaozong ruled that the achievements outweighed the crimes.