World Library  
Flag as Inappropriate
Email this Article

Tang campaigns against Karasahr

Tang campaigns against Karasahr
Part of the Tang campaigns against the Western Turks

A map of the campaigns against the Western Regions, including the defeat of Karasahr.
Date 644 and 648
Location Tarim Basin

Tang victory

  • Karasahr captured
  • Tang military garrison installed in Karasahr
  • Tang loyalist is enthroned as ruler and Tang control of Karasahr is re-established
  • Indo-European influence in Central Asia declines
Tang dynasty Karasahr
Western Turkic Khaganate
Commanders and leaders
Guo Xiaoke
Ashina She'er
King of Karasahr, Long Tuqizhi
3,000 infantry and cavalry Unknown number of Karasahr troops
5,000 Western Turk cavalry

The Tang campaigns against Karasahr, known as Yanqi (a transliteration of the Sanskrit name "Agni") in Chinese sources, were two military campaigns sent by Emperor Taizong of the Tang dynasty against the Tarim Basin kingdom of Karasahr in Xinjiang, a vassal of the Western Turkic Khaganate. 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 Turk army at the conquest of Karasahr and installed a Tang loyalist as ruler. The second campaign in 648 was led by the Tang general Ashina She'er, and was part of the campaign against Karasahr's neighboring state of Kucha.


  • Background 1
  • 644 Campaign 2
  • 648 campaign 3
  • Aftermath 4


Karasahr, a kingdom in the Tarim Basin, became a tributary state of Tang China in 632.[1] In 632, the nearby oasis states Kashgar and Khotan surrendered to Chinese suzerainty, as did the kingdom of Yarkand in 635.[2] Karasahr was influenced by Persian culture, Buddhism, and the Greco-Buddhist culture of Afghanistan.[3]

The rulers of Karasahr grew uneasy as the Chinese expanded into Central Asia. After the conquest of the city of Turfan, center of the kingdom of Gaochang, the Chinese army stationed nearby was seen as a direct threat.[1] This is a little ironic, because Gaochang's military aggression against Karasahr (a response to Karasahr's developing a trade route to China that bypassed Gaochang) had earlier served as one of the pretexts for the Tang campaign against Gaochang.

644 Campaign

Karasahr ended its tributary relationship with the Tang dynasty and formed a marriage alliance with the Western Turkic Khaganate, its previous suzerain. The state of Kucha, although technically a Tang vassal, aided Karasahr's rebellion in 644. Fearing Tang military ambitions, Kucha also ended its status as a Chinese tributary state. The Tang emperor responded by sending an army led by commander Guo Xiaoke, protectorate-general of the Anxi Protectorate, against the kingdom.[1] Long Lipozhun, a brother of the former king, defected to the Tang and served as Guo's guide. Guo planned a surprise attack, marching towards the city from the Yulduz, and attacked the kingdom at dawn.[4] The city fell and the king Long Tuqizhi was captured when the Tang troops swam across the moat that surrounded the city. Guo Xiaoke installed Long Lipozhun as ruler and led his army back toward Gaochang with Long Tuqizhi as a captive. The Western Turks sent 5,000 cavalry to assist Karasahr. They arrived three days after Guo's departure and captured Long Lipozhun. They then pursued Guo Xiaoke's army, but were defeated by the Tang troops. One of the Western Turk leaders later sent a tudun to rule Karasahr, but the tudun pulled out after receiving threats from Tang Taizong. The people of Karasahr then installed Long Lipozhun's cousin Xue Apo'anazhi as their king and remained vassals of the Western Turks.

648 campaign

The Tang general Ashina She'er, a member of the Turkic Ashina royal family, was sent to attack Kucha with 100,000 Tiele auxiliary cavalry in 648. Although the Tang expedition did not attack Karasahr directly, the pro-Turk king fled his capital city and attempted to hold off the Tang forces on the eastern borders of Kucha. The Tang expedition pursued, captured, and executed him. Another pro-Tang Karasahr aristocrat, Lipozhun's cousin Xiannazhun, was then installed as ruler of Karasahr.[1]


Karasahr became one of the Tang empire's Four Garrisons of the Pacified West (the others being Kucha, Khotan, and Kashgar) when the headquarters of the Protectorate of the Pacified West was moved from Gaochang to Kucha in 658 or 659, but it is not clear whether any Tang troops were stationed in Karasahr between 648 and 658. The Tang pulled out of Karasahr in 670 as a result of a Tibetan invasion of the Tarim Basin. Tang forces regained the

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.