侯君集
Several of the Tarim Basin oasis states switched their allegiance from the Tang Dynasty to the Western Turks. The oasis states Kashgar and Khotan surrendered to the Chinese in 632, as did the kingdom of Yarkand in 635. Tang military campaigns expanded further west against the remaining kingdoms of the Tarim Basin in southern Xinjiang beginning in 640. The king of Gaochang refused to submit to the Tang Dynasty as a suzerain. In 638, Emperor Taizong ordered a campaign led by general Hou Junji to invade Gaochang. Tang troops arrived in 640 and annexed the kingdom. A Western Turk army, sent to support Gaochang, retreated as the Tang forces approached.