侯君集
However, fearing Tang expansion, Qu Wentai later formed an alliance with the Western Turks and rebelled against Tang suzerainty. Emperor Taizong sent an army led by General Hou Junji against the kingdom in 640 and Qu Wentai apparently died of shock at news of the approaching army. Gaochang was annexed by the Chinese Tang dynasty and turned into a sub-prefecture of Xizhou (西州) and the seat of government of Anxi (安西). Before the Chinese conquered Gaochang, it was an impediment to Chinese access to Tarim and Transoxiania.