张柬之
In 705, Wu Zetian was overthrown in a coup led by Zhang Jianzhi, Cui Xuanwei, Huan Yanfan, Jing Hui, and Yuan Shuji. (Yuan was Li Dan's secretary general, and during the coup, Yuan's responsibility was to safeguard Li Dan, suggesting, but not proving, that Li Dan might have known about the coup plans.) Li Xian was restored to the throne, and he gave Li Dan the special title of "Anguo Xiangwang" (), literally "the Prince of Xiang who pacified the state." Emperor Zhongzong also gave Li Dan the title of "Taiwei" (太尉, one of the Three Excellencies) and made him a chancellor with the designation of "Tong Zhongshu Menxia Sanpin" (). Li Dan declined both honors, and Emperor Zhongzong then offered to create him heir apparent, which Li Dan declined as well. Emperor Zhongzong subsequently created his son Li Chongjun crown prince.