Hu declined on the basis that his mission was to escort the princess to Chongde Khan and therefore he had to complete that final leg of the mission. After they arrived at the Huigu court and an appropriate date was set, Chongde Khan created her as Khatun — the Khan's wife. The wedding, as described by the Old Book of Tang, went in this manner: Before Hu and his staff were ready to depart, Princess Taihe held a feast for them, and it was said that she wept for over a day and kept them for that duration, before they actually departed. Chongde Khan awarded them with great treasure. As Khatun In 824, Chongde Khan died and was succeeded by his brother Yaoluoge Hesa (藥羅葛曷薩) (as Zhaoli Khan). Princess Taihe remained in Huigu, although it is not clear whether she remarried Zhaoli Khan or any other person. In 832, Zhaoli Khan was assassinated by his subordinates, and his nephew Yaoluge Hu (藥羅葛胡) succeeded him (as Zhangxin Khan). In 839, after a rebellion by the officials Anyunhe (安允合) and Chaile (柴勒), Zhangxin Khan was able to defeat and kill them, but a subsequent attack by another official, Jueluowu (掘羅勿), along with the Shatuo chief Zhuye Chixin, defeated Zhangxin Khan, and Zhangxin Khan committed suicide. The nobles supported another member of the royal family, Yaoluoge Hesa (藥羅葛闔馺, not same person as Zhaoli Khan) as khan. That year, it was said that in addition to these wars, there was a major plague and major snow storm, causing great deaths of the Huigu livestock and leading to its sudden decline. In 840, a major Xiajiasi attack on Huigu destroyed the Huigu headquarters, and both Yaoluoge Hesa and Jueluowu were killed in battle. The remaining Huigu forces scattered. In 841, one of the major generals, Wamosi, submitted to Tang (which was then ruled by Emperor Muzong's son Emperor Wuzong), and Emperor Wuzong issued an edict to Wamosi ordering him to seek out Princess Taihe. Meanwhile, though, Princess Taihe was actually taken captive by the Xiajiasi khan Are (阿熱), but Are, who claimed ancestry from the Han Dynasty general Li Ling and thus a common ancestry with Tang emperors (through Li Ling's grandfather Li Guang), treated her with respect and sent a group of generals to escort Princess Taihe back to Tang territory. On the way, though, one of the remnant Huigu leaders who had claimed