Eventually, after a mission headed by the Huigu diplomat Hedagan (合達干), Emperor Muzong agreed to have Princess Taihe's older sister Princess Yong'an married to Baoyi Khan—but as Baoyi died in 821, the marriage never took place.
[2] On August 28,[6] she departed the Tang capital Chang'an, escorted by the general Hu Zheng (胡証), assisted by the other officials Li Xian (李憲) and Yin You (殷侑).
[2] Emperor Muzong issued an edict permitting Princess Taihe to maintain a staff on the same level of staffing as an imperial prince.
When they approached the Huigu court, Chongde Khan sent a group of several hundred soldiers to welcome her and escort her to the Huigu court, but 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.
Accompanied by an old woman servant, she exited the tent and approached the tower from the west, bowing.
[8] Princess Taihe remained in Huigu, although it is not clear whether she remarried Zhaoli Khan or any other person.
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.
Emperor Wuzong responded with an edict that instructed Wujie Khan to remain outside Tang borders and requested Princess Taihe to personally return to Chang'an to report on Huigu's status.
[10] Wujie Khan did not follow Emperor Wuzong's orders, and Huigu remnants under him pillaged Tang's northern territory in earnest.
He also made another request to borrow the border city of Tiande (天德, in modern Bayan Nur, Inner Mongolia), which Emperor Wuzong rejected.
Emperor Wuzong also mobilized the forces of the circuits on the northern border, preparing a major retributive campaign against Wujie Khan.
In winter 842, he also had the chancellor Li Deyu write a letter in his own name, addressed to Princess Taihe, sending it to the Huigu remnants along with winter clothes as a gift for Princess Taihe:[10] Before, the Empire was willing to let go its beloved daughter to intermarry with Huigu.
Wujie Khan fled, and Shi then escorted Princess Taihe back to Tang territory.