During Tang In 898, after Zhu Quanzhong, who was then military governor of not only Xuanwu but also Xuanyi Circuit (宣義, headquartered in modern
Anyang,
Henan), had further expanded his territory by conquering Tianping (天平, headquartered in modern
Tai'an,
Shandong) and Taining (泰寧, headquartered in modern
Jining,
Shandong) Circuits, he sent his deputy military governor Wei Zhen (韋震) to Chang'an to request that
Emperor Zhaozong (Emperor Xizong's brother and successor) make him the military governor of Tianping as well. The imperial government, after initial reservations, did so after much lobbying by Wei. Zhu subsequently made Wei the acting military governor and Li Zhen the deputy military governor. In 900, the powerful
eunuchs, led by
Liu Jishu, overthrew Emperor Zhaozong and put him under arrest, replacing him with his son
Li Yu, Prince of De. Liu sent his adoptive son Liu Xidu (劉希度) and another eunuch, Li Fengben (李奉本), to Bian Prefecture to try to persuade Zhu to support the eunuchs' coup, promising to let him control the imperial court if he did so. Zhu was unsure what to do, and most of his staff members suggested not getting involved with the politics at the imperial court. Li Zhen, however, urged intervention against the eunuchs, pointing out that this was a good opportunity for Zhu to raise his profile among the regional governors, and further pointing out that if the young emperor became firmly in control of the eunuchs, the eunuchs could easily do what they wanted. Zhu agreed, and put Liu Xidu and Li Fengben under arrest, while sending Li Zhen to Chang'an to personally meet with the anti-eunuch
chancellor Cui Yin, who was an ally of Zhu's, to consider what to do next. When, shortly thereafter, a countercoup by several
Shence Army officers killed Liu Jishu and his coconspirators and restored Emperor Zhaozong, Zhu, who then executed Liu Xidu and Li Fengben, became even more attentive to Li Zhen's advice. By 904, Zhu had Emperor Zhaozong in his firm control and had forcibly moved the emperor from Chang'an to
Luoyang. However, he was still apprehensive that the emperor might coordinate his actions with several other warlords who did not obey him—
Li Maozhen the military governor of Fengxiang Circuit (鳳翔, headquartered in modern
Baoji,
Shaanxi),
Li Jihui the military governor of Jingnan Circuit (靜難, headquartered in modern
Xianyang,
Shaanxi),
Li Keyong the military governor of Hedong Circuit (河東, headquartered in modern
Taiyuan,
Shanxi),
Liu Rengong the military governor of Lulong Circuit (盧龍, headquartered in modern
Beijing),
Wang Jian the military governor of Xichuan Circuit (西川, headquartered in modern
Chengdu,
Sichuan),
Yang Xingmi the military governor of Huainan Circuit (淮南, headquartered in modern
Yangzhou,
Jiangsu), and
Zhao Kuangning the military governor of Zhongyi Circuit (忠義, headquartered in modern
Xiangyang,
Hubei). He therefore resolved to assassinate the emperor, and therefore sent Li Zhen to Luoyang to coordinate this matter with Jiang Xuanhui (蔣玄暉) the director of palace communications (whom Zhu had put in charge of monitoring the emperor), as well as his adoptive son Zhu Yougong (朱友恭) and officer Shi Shucong (氏叔琮). Zhu Yougong and Shi subsequently assassinated Emperor Zhaozong, who was then replaced with his son
Emperor Ai. While Zhu Quanzhong subsequently ordered Zhu Yougong and Shi to commit suicide in order to divert responsibility, no harm came to Li Zhen or Jiang. In 905, Zhu made Li Zhen the acting military governor of Pinglu Circuit (平盧, headquartered in modern
Weifang,
Shandong), to replace
Wang Shifan, who had previously launched a resistance campaign against Zhu but who had subsequently submitted to Zhu. Li Zhen was thereafter made the director of palace affairs (殿中監,
Dianzhong Jian). (It did not appear that Li Zhen remained long at Tianxiong, however, based on subsequent events.) == Service under Zhu Yougui and Zhu Zhen ==