 The Tang expeditionary army replaced Haripushpa with his younger brother ( the " yabgu " ) , erected an inscribed stele to commemorate its victory , and returned to Chang ’ an with Haripushpa , Nali , and Kucha 's top general as captives . All three men were given sinecures and kept at the imperial court until 650 , when they were sent back to Kucha after it became clear that the vacuum of power created by their absence had reduced the kingdom to a state of civil war and anarchy . The Kucha expedition also killed the pro @-@ Turk king of Karasahr and replaced him with a cousin , but there is no evidence that a Tang military garrison was stationed in Karasahr between 648 and 658 . Likewise , the Khotan king 's coerced trip to Chang 'an does not seem to have resulted in a Tang garrison being sent to Khotan . 
