In 836 — after Zheng and another close associate of Emperor Wenzong's, Li Xun, had been killed after failing in a plot that they hatched with Emperor Wenzong to slaughter the powerful eunuchs — Li Jue was made an advisor to Emperor Wenzong's son and crown prince Li Yong, but ordered to have his office at the eastern capital Luoyang. He was subsequently made the mayor of Henan Municipality (河南, i.e., the Luoyang region). In 837, by which time Li Guyan was chancellor, Li Guyan, who was friendly with him, had him recalled to Chang'an to again serve as the deputy minister of census. In 838, apparently at Li Guyan's recommendation, Li Jue and Yang Sifu were made chancellors with the designation Tong Zhongshu Menxia Pingzhangshi (), and Li Jue also continued to serve as deputy minister of census.Zizhi Tongjian, vol. 246.
