 The last Turgesh ruler declared himself a vassal of the recently established Uyghur Khaganate.In 766 the Karluks conquered Zhetysu and ended the Turgesh Khaganate.Tuhsi and Azi might be remnants of the Türgesh, according to Gardizi, as well as Khalaj.