Kumo Xi
During the Tang dynasty, "heqin" marriage alliances were primarily aimed at the Tuyuhun, the Tibetan Empire, the Khitans and the allied Kumo Xi, the Uyghur Khaganate, and Nanzhao.