Li Chongjun
In 707, there was a major drought, and Emperor Zhongzong summoned Ji to discuss the matter with him. The next day, Wu Sansi had the acting director of the imperial astronomical conservatory, Jiaye Zhizhong (迦葉志忠) submit a report stating that the night before, that the star "Sheti" (攝提) had entered the constellation "Taiwei Palace" (太微宮), symbolizing that a faithful official had entered the palace and met the emperor. Emperor Zhongzong was convinced that it involved his meeting with Ji, and issued an edict that praised Ji for great faithfulness that caused the stars to reflect him, and awarded him with clothes and silk. Later that year, when Emperor Zhongzong's crown prince Li Chongjun, by a concubine, who had been repeatedly insulted by Empress Wei's powerful daughter Li Guo'er the Princess Anle, whose husband was Wu Sansi's son Wu Chongxun (武崇訓), and could not bear such insult, rose in rebellion, killing Wu Sansi and Wu Chongxun and then attacking the palace, Ji was described as one of the officials leading forces to defend against the attack on the palace. Li Chongjun was subsequently defeated and killed in flight. Thereafter, Ji and a chancellor associated with Wu Sansi, Zong Chuke, made repeated attempts to implicate the senior chancellor Wei Yuanzhong in the plot, and were eventually able to get Emperor Zhongzong to exile, but not execute, Wei Yuanzhong. Meanwhile, Ji was given the designation "Tong Zhongshu Menxia Sanpin" (同中書門下三品), making him a chancellor "de facto", and soon thereafter, he was made "Shizhong" (侍中) -- the head of the examination bureau of government (門下省) and a post considered one for a chancellor.