Sansi (), commandant at You Prefecture (幽州, in modern Beijing), and military governor (Jiedushi) of Lulong Circuit (盧龍, headquartered at Beijing). (At that time, Lulong Circuit was actually governed by the warlord Li Keju.) It was said that Li Jie was particularly close to Emperor Xizong since they shared the same mother, and he followed Emperor Xizong in flight from Chang'an from the attack of the agrarian rebels led by Huang Chao in 880. While on this flight, Li Jie, who was then 13, ran out of energy and requested a horse from the eunuch Tian Lingzi, who dominated Emperor Xizong's court; Tian refused and whipped Li Jie's attendant for the request. Li Jie thereafter bore a deep resentment for Tian. In 888, by which time Huang's rebellion had been crushed and the imperial court had returned to Chang'an, Emperor Xizong grew gravely ill. It was said that Emperor Xizong's younger brother and Li Jie's older brother Li Bao () the Prince of Ji was the oldest among Emperor Xizong's surviving brothers and was considered wise, and so the imperial officials wanted him to succeed Emperor Xizong, but the powerful eunuch Yang Fugong (who had succeeded Tian as the surveyor of the eunuch-controlled Shence Armies) wanted Li Jie to succeed Emperor Xizong, so Emperor Xizong issued an edict creating Li Jie crown prince. Shortly after, Emperor Xizong died, and Li Jie, changing his name to Li Min, took the throne as Emperor Zhaozong. During the mourning period, the chancellor Wei Zhaodu served as regent. Reign Campaigns against Chen Jingxuan and Li Keyong Emperor Zhaozong's ascension created great anticipation in the people's minds, as he was considered intelligent, handsome, decisive, and talented, with ambitions to restore imperial power that had been lost during Emperor Xizong's reign. Not long after taking the throne, he changed his name further to Li Ye. As soon as Emperor Zhaozong took the throne, he received petitions from Wang Jian and Gu Yanlang, advocating that Tian Lingzi's brother Chen Jingxuan the military governor of Xichuan Circuit (西川, headquartered in modern Chengdu, Sichuan), be removed from his post. (Wang, who was allied with Gu (the military governor of neighboring Dongchuan Circuit (東川, headquartered in modern Mianyang, Sichuan), had been fighting Chen for the control of Xichuan but was unable to prevail against Chen by himself.) Still resenting Tian, who was then sheltered by Chen from edicts that Emperor