In 702, Wu Zetian considered launching a campaign against Eastern Tujue, and she put her son Li Dan the Prince of Xiang in command of the army, assisted by her family members Wu Sansi the Prince of Liang, Wu Youning the Prince of Jianchang, and the chancellor Wei Yuanzhong. Yao Yuanchong was to serve as secretary general for Li Dan on this campaign, but eventually the campaign was not launched. Around this time, there was an ethnic Tujue chieftain named Zhali Yuanchong (吒利元崇) who rebelled against Zhou. Wu Zetian did not want Yao to share a name with Zhali, and therefore had him use his courtesy name of Yuanzhi.