HistoryData
Historical ConflictTarim Basin

Tang campaigns against Karasahr

Tang dynasty's two campaigns against Karasahr extended Chinese control over the Tarim Basin oasis states, weakening Western Turkic influence in Central Asia.

Duration & Scope

644 648

4 years

Key Facts

Duration
644–648 (two campaigns)
First campaign commander
Guo Xiaoke
Second campaign commander
Ashina She'er
Karasahr's overlord
Western Turkic Khaganate
Tocharian name for Karasahr
Agni (Yanqi in Chinese)

Strategic Narrative Overview

The first campaign in 644 was led by Guo Xiaoke, protector-general of the Anxi Protectorate, who defeated both the Karasahr forces and a Western Turkic relief army, installing a Tang loyalist as ruler. The second campaign in 648, commanded by the Turkic Tang general Ashina She'er, was conducted in coordination with a broader offensive against the neighboring state of Kucha and resulted in the definitive conquest of Karasahr.

01 / The Origins

Karasahr, a Tarim Basin oasis city-state also known by the Tocharian name Agni, was a vassal of the Western Turkic Khaganate and lay along vital Central Asian trade routes. Emperor Taizong of the Tang dynasty sought to project power westward, challenging Turkic dominance in the region. Karasahr's strategic position and political allegiance to the Western Turks made it a target for Tang expansion into what is now Xinjiang.

03 / The Outcome

By 648, Karasahr was defeated and brought under direct Tang control through Ashina She'er's campaign. The conquest eliminated Karasahr as a Western Turkic client state and incorporated it into the Tang sphere of influence. This, combined with the concurrent subjugation of Kucha, consolidated Tang authority across the key oasis states of the Tarim Basin and reduced Western Turkic power in the region.

Belligerents & Mobilization Analysis

Side A

1 belligerent

Tang dynasty
Key Commanders

Guo Xiaoke, Ashina She'er.

Side B

2 belligerents

Kingdom of KarasahrWestern Turkic Khaganate
Outcome
Tang victory; Karasahr conquered and incorporated into Tang sphere; Western Turkic influence in the Tarim Basin diminished

Kinetic Engagement Axis

Major engagements timeline (644–648)Timeline of major military engagements plotted chronologically.644648644First campaign a…Allied648Second campaign …Allied

Scroll horizontally to view full axis. Events plotted relatively.

Side A victorySide B victoryInconclusiveDecisive / turning point

Location

Map of Karasahr, ChinaMap of Karasahr, ChinaKarasahr, China