 Defeats by the advancing Chinese had made their tribal allies lose confidence in them.The crisis deepened the next year when a coup d'état took place within the clan.On August 1, 646, the Xueyantuo were defeated by the Uyghur (Huihe, 回纥) and the Chinese.