Chancellorship
Immediately, Li Jue's chancellor colleague Chen Yixing was said to despise Yang Sifu and offered to resign, but Chen's request to resign was not accepted by Emperor Wenzong. Further, as Yang advocated for Li Zongmin, who had been exiled, to be moved closer to the capital, and Chen and another chancellor, Zheng Tan, both opposed. It was said that from this point, Yang and Li Jue were often in a factional struggle against Chen and Zheng, causing Emperor Wenzong to be unable to rule on their proposals easily. Meanwhile, as Emperor Wenzong had a love of poetry, he considered establishing imperial scholar positions dedicated to the study of poetry, but Li Jue opposed, pointing out that the popular poetry at the time were stylistically elegant but devoid of content. Emperor Wenzong thus did not carry out his original idea.
In 839, there was a major argument that led to the removals of Chen and Zheng. Emperor Wenzong had praised the talents of the acting director of finances, Du Cong. Yang and Li Jue thereafter recommended Du to be the ministry of census. Chen responded, "Such orders should come from the Emperor. In the past, those who lost stately sovereignty did so by losing their authorities to their subjects." Li Jue responded, "Your Imperial Majesty had told me previously that an Emperor should select chancellors, not suspect them." In a subsequent discussion, Chen again emphasized that the Emperor should not yield authority to his subjects. Li Jue, offended, responded, "Chen Yixing is obviously suspecting that there are chancellors who are stealing power from Your Imperial Majesty. I have often requested retirement, and I would be fortunate to be given a post as an imperial prince's teacher." Zheng then stated, "Your Imperial Majesty ruled well in the first and second years of the Kaicheng era [(i.e., 836 and 837)], while less so in the third and fourth years of Kaicheng [(i.e., 838 and 839)]." Yang responded, "In the first and second years, Zheng Tan and Chen Yixing were in power. In the third and fourth years, your subject and Li Jue joined them. Of course, the crime is mine." He then stated, "I do not dare to again enter the Office of the Chancellors!" He withdrew from Emperor Wenzong's presence. Emperor Wenzong subsequently sent a eunuch to comfort him, and Zheng partially apologized, stating, "Your subject is foolish. I did not intend to point at Yang Sifu, but Yang Sifu's reaction shows that he has no tolerance for me." Yang responded, "Zheng Tan stated that the governance is deteriorating year by year. This does not only incriminate your subject, but also speaks ill of your holy virtues." Yang then submitted multiple offers to resign. Soon thereafter, Zheng and Chen were stripped of their chancellor posts. Meanwhile, when Emperor Wenzong discussed with Li Jue how the start of Emperor Dezong's reign was considered one with good governance, Li Jue pointed out that the problems with the late stages of Emperor Dezong's reign was that he was extracting tributes from the circuits and that administrators were therefore able to extract additional amounts beyond the tributes. When Emperor Wenzong discussed lowering the tax burden, Li Jue endorsed the idea, arguing that that was what was done under Emperor Wenzong's highly regarded ancestor Emperor Taizong and the chancellors Fang Xuanling, Du Ruhui, Wang Gui, and Wei Zheng. It was said that Emperor Wenzong appreciated Li Jue's advice, and he created Li Jue the Baron of Zanhuang.
With Li Yong having died in 838, Emperor Wenzong's favorite concubine Consort Yang recommended Emperor Wenzong's brother Li Rong the Prince of An as the new crown prince. When Emperor Wenzong consulted the chancellors, Li Jue opposed the proposal. As a result, late in 839, Emperor Wenzong created Emperor Jingzong's youngest son Li Chengmei the Prince of Chen crown prince.
In spring 840, Emperor Wenzong became gravely ill. He had his trusted eunuchs Liu Hongyi (劉弘逸) and Xue Jileng (薛季稜) summon Yang Sifu and Li Jue to the palace, to entrust Li Chengmei to them. However, the powerful eunuchs Qiu Shiliang and Yu Hongzhi (魚弘志), who were not consulted, opposed Li Chengmei, and therefore, despite Li Jue's objection, forged an edict in Emperor Wenzong's name, demoting Li Chengmei back to being the Prince of Chen, while creating another younger brother of Emperor Wenzong's, Li Chan the Prince of Ying, crown prince. Emperor Wenzong soon died, and Li Chan became emperor (as Emperor Wuzong). At Qiu's urging, Emperor Wuzong ordered Li Rong, Li Chengmei, and Consort Yang to commit suicide.