Xue Ji

Late in the reign of Emperor Gaozong's wife Wu Zetian, he served as an imperial attendant, along with her lovers Zhang Yizhi and Zhang Changzong and several officials with literary talents, including Ji Xu, Tian Guidao (田歸道), Li Jiongxiu, and Yuan Banqian (員半千).

At that time, his second cousin Xue Yao (薛曜) was serving at the examination bureau (門下省, Menxia Sheng), and both of them were known for their literary talent.

In 710, Emperor Zhongzong died suddenly—a death traditional historians believed to be a poisoning carried out by his powerful wife Empress Wei and her daughter Li Guo'er the Princess Anle, so that Empress Wei could become "emperor" like Wu Zetian, and Li Guo'er could become crown princess.

Xue, who had been made deputy minister of worship (太常少卿, Taichang Shaoqing) and had been in charge of drafting imperial edicts, along with Su Ting, suggested to Zhong that he demonstrate modesty by offering to resign—something often done when high level officials are commissioned and mostly done ceremonially—and when Zhong did, Xue entered the palace and persuaded Emperor Ruizong to accept the resignation.

Subsequently, Xue was made Zhongshu Shilang (中書侍郎), the deputy head of the legislative bureau, given the designation Canzhi Zhengshi (參知政事), making him a chancellor de facto.

Emperor Ruizong, tired of their bickering, removed both of them from their chancellor posts, with Xue becoming Zuo Sanqi Changshi (左散騎常侍), a senior advisor at the examination bureau.

On July 29,[1] Emperor Xuanzong had Wang Maozhong take 300 soldiers to the imperial guard camp to behead Chang and Li Ci.