(Tokhara Yabghus, Turk Shahis) The military of the Tang dynasty was staffed with a large population of Turkic soldiers, referred to as Tujue (突厥) in Chinese sources.
It began with Taizong who sent his general Li Jing, eventually ended in defeating the Eastern Turks and capturing their leader Jiali Khan.
[1] Taizong regularly recruited and promoted military officers of Turkic ancestry, whose steppe experience contributed to the western and northern expansion of the Tang empire.
Taizong was a skilled horseman, and during a celebration of his victory and ascension to the throne, sacrificed a horse in a ritual derived from a Turkic religious practice.
His later successes as an emperor against the armies of Central Asia through diplomacy and divide and rule are the result of his early experiences with Turkic culture.
He sought to solidify his claim as a kaghan by organizing a gathering of Turkic leaders in the Lingzhou fortress during the last years of his reign to reconfirm his title.
[8] While mostly symbolic, the title of Heavenly Kaghan shows Taizong's open attitudes towards the existence of a multicultural and ethnically diverse Tang empire.
[6] Taizong was proud of his policies promoting ethnic equality, and was reported to have said that, "The emperors since ancient times have all appreciated the Chinese and depreciated the barbarians.
Taizong's views grew into state policy as his government recruited Turkic and other non-Han Chinese soldiers into the Tang military.
[6] Tang relationship with the Turks may have further deepened had the crown prince Li Chengqian, a Turkophile, been enthroned as Taizong's successor.
He chose from among his retinue those who had Turkish features and grouped them in bands of five; he made them plait their hair, wear sheepskins, and herd sheep.
The Tang loyalist that had been installed as ruler after the first invasion of Karasahr in 644 by Chinese general Guo Xiaoke was deposed by his cousin in a revolt.
[14] Emperor Taizong himself tended to the injuries of the Turkic Generals Qibi Heli and Ashina Simo, who were both wounded during the campaign against Goguryeo.
[15] Ashina Zhong, the brother of She'er, also served as a Turkic general of the Tang dynasty, and was a participant in a military performance hosted by Emperor Gaozong in 655.