
The Battle of Gol-Zarriun, also Battle of Bukhara, took place in c. 560 when the Sasanian Empire allied with the First Turkic Khaganate against the Hephthalite Empire.

The Battle of Irtysh River or Battle of Yexi River was a battle in 657 between Tang Dynasty general Su Dingfang and the Western Turkic Khaganate qaghan Ashina Helu during the Tang campaign against the Western Turks. It was fought along the Irtysh River near the Altai Mountains. Helu's forces, consisting of 100,000 cavalry, were ambushed by Su as Helu chased decoy Tang troops that Su had deployed. Helu was defeated during Su's surprise attack, and lost most of his soldiers. Turkic tribes loyal to Helu surrendered, and the retreating Helu was captured the next day.

The conquest of the Western Turks, known as the Western Tujue in Chinese sources, was a military campaign in 655–657 led by the Tang Dynasty generals Su Dingfang and Cheng Zhijie against the Western Turkic Khaganate ruled by Ashina Helu. The Tang campaigns against the Western Turks began in 640 with the annexation of the Tarim Basin oasis state Gaochang, an ally of the Western Turks. Several of the oasis states had once been vassals of the Tang Dynasty, but switched their allegiance to the Western Turks when they grew suspicious of the military ambitions of the Tang. Tang expansion into Central Asia continued with the conquest of Karasahr in 644 and Kucha in 648. Cheng Zhijie commanded the first foray against the West Tujue, and in 657 Su Dingfang commanded the main army dispatched against the Western Turks, while the Turkic generals Ashina Mishe and Ashina Buzhen led the side divisions. The Tang troops were reinforced by cavalry supplied by the Uyghurs, a tribe that had been allied with the Tang since their support for the Uyghur revolt against the Xueyantuo. Su Dingfang's army defeated Helu at the battle of Irtysh River.

In the years following Tang Taizong's subjugation of the Eastern Turkic Khaganate, the emperor began to exert his military power toward the oasis city-states of the Tarim Basin. These states, populated by Tocharian and Saka peoples, were loosely allied with the Western Turkic Khaganate. In 640, Emperor Taizong sent the military commander Hou Junji to defeat and annex Gaochang (Karakhoja)—the first attempt by any Chinese dynasty to set up a permanent military and political presence in the region since Fu Jian in the 4th century. In 644, after Karasahr (Yanqi)—an ally in the campaign against Karakhoja—turned against Tang and allied with the Western Turkic Khaganate, the Tang commandant at Karakhoja, Guo Xiaoke, attacked and captured the King of Karasahr, Long Tuqizhi, but Karasahr subsequently rebelled. In 648, the ethnically Turkic Tang general Ashina She'er who was the second son of Shibi Khan, attacked both Karasahr and Kucha in the northern Tarim, conquering both. Kashgar and Khotan in the western Tarim then also submitted to Tang, allowing the dynasty to dominate the region until it was briefly seized by Tibet during the reign of Emperor Taizong's son Emperor Gaozong.

The First Perso-Turkic War was fought during 588–589 between the Sasanian Empire and Hephthalite principalities and its lord the Göktürks. The conflict started with the invasion of the Sasanian Empire by the Turks and ended with a decisive Sasanian victory and the reconquest of lost lands.

The Göktürk civil war or Turkic interregnum was a number of political crises in the Turkic Khaganate first between 584 and 603, which resulted in the split of the khaganate into Western and Eastern.

The Tang campaign against Karakhoja, known as Gaochang in Chinese sources, was a military campaign in 640 CE conducted by Emperor Taizong of the Tang dynasty against the Tarim Basin kingdom of Karakhoja, based in the city of Turfan in Xinjiang. The Western Turks provided their ally Karakhoja with soldiers, but the army retreated when the Tang forces arrived. Karakhoja surrendered and the kingdom was incorporated as a Tang prefecture.

The Tang campaign against Kucha was a military campaign led by the Tang dynasty general Ashina She'er against the Tarim Basin oasis state of Kucha in Xinjiang, which was aligned with the Western Turkic Khaganate. The campaign began in 648 and ended on 19 January 649, after the surrender of the Kuchan forces following a forty-day siege in Aksu. Kuchean soldiers tried to recapture the kingdom with the assistance of the Western Turkic Khaganate, but were defeated by the Tang army.

Emperor Taizong of Tang, the second emperor of Chinese Tang Dynasty, faced a major threat from Tang's northern neighbor, the Eastern Turkic Khaganate. Early in Emperor Taizong's reign, he placated the Eastern Turkic Khaganate's Illig Qaghan, while preparing for several years for a major offensive against the Eastern Turkic. He launched the offensive in winter 629, with the major general Li Jing in command, and in 630, after Li Jing captured Ashina Duobi, the Eastern Turkic Khaganate was destroyed. Subsequently, control of the territory north of Tang largely fell to Xueyantuo, and Emperor Taizong initially tried to settle many the Eastern Turkic people within Tang borders. Eventually, after an incident where he was nearly assassinated by a member of the Eastern Turkic royal house, Ashina Jiesheshuai, he tried to resettle the Eastern Turkic people north of the Great Wall and south of the Gobi Desert, to serve as a buffer between Tang and Xueyantuo, creating a loyal Eastern Turkic Khaganate's prince Ashina Simo as the Qilibi Khan, but Ashina Simo's reign collapsed around new year 645 due to dissent within and pressure from Xueyantuo without, and Tang would not attempt to recreate the Eastern Turkic Khaganate any further.

The Tang campaigns against Karasahr were two military campaigns sent by Emperor Taizong of the Tang dynasty against the Tarim Basin kingdom of Karasahr, a vassal of the Western Turkic Khaganate. The city-state, which later became part of Xinjiang), may have been known to its inhabitants by the Tocharian name Agni, which was rendered Yanqi in Chinese sources. The first campaign in 644 was led by the Tang commander Guo Xiaoke, protector-general of the Anxi Protectorate in western China, who defeated the oasis state and a Western Turkic army and installed a Tang loyalist as ruler. The second campaign in 648, which was part of the campaign against Karasahr's neighboring state of Kucha, was led by a Turkic general of the Tang Dynasty, Ashina She'er, who defeated and conquered Karasahr.

The Tang campaigns against the Western Turks, known as the Western Tujue in Chinese sources, were a series of military campaigns conducted during the Tang dynasty of China against the Western Turkic Khaganate in the 7th century AD. Early military conflicts were a result of the Tang interventions in the rivalry between the Western and Eastern Turks in order to weaken both. Under Emperor Taizong, campaigns were dispatched in the Western Regions against Gaochang in 640, Karasahr in 644 and 648, and Kucha in 648.
The military of the Tang Dynasty was staffed with a large population of Turkic soldiers, referred to as Tujue in Chinese sources. Tang elites in northern China were familiar with Turkic culture, a factor that contributed to the Tang acceptance of Turkic recruits. The Tang emperor Taizong adopted the title of "Heavenly Kaghan" and promoted a cosmopolitan empire. Turkic soldiers that served under the Tang dynasty originated from the Eastern Turkic Khaganate. It began with Tang dynasty Emperor Taizong who sent his general Li Jing, eventually ended in defeating the Eastern Turks and capturing their leader Jiali Khan. Taizong regularly recruited and promoted military officers of Turkic ancestry, whose steppe experience contributed to the western and northern expansion of the Tang empire. The Turkic general Ashina She'er participated in the Tang capture of the Karakhoja, Karasahr, and Kucha kingdoms in Xinjiang. The half-Turkic general An Lushan started a revolt that led to the decline of Tang Dynasty.