When Emperor Zhi ascended the throne in March 145, Li Gu retained his post as Grand Commandant. However, Liang Ji soon became apprehensive of Emperor Zhi's intelligence. On 26 July 146, he had his underlings poison a bowl of pastry soup and had it given to the emperor. After the young emperor consumed the soup, he quickly suffered great pain, and he summoned Li immediately and also requested for water, believing that water would save him. However, Liang, who was by the emperor's side, immediately ordered that the emperor not be given any water; the young emperor immediately died. Li cried bitterly upon Emperor Zhi's death and advocated a full investigation, but Liang was able to have the investigation efforts suppressed. After Emperor Zhi's death, Li Gu again advocated that Liu Suan be made emperor; this time, Li Gu's proposal received widespread support. Previously, Liu Suan had been rude during an audience with
Cao Teng, causing Cao to hold a grudge. Upon hearing the impasse between Liang Ji and Li Gu, Cao Teng went to Liang Ji's residence during one night and persuaded Liang to make his brother-in-law
Liu Zhi, Marquess of Liwu, emperor in order to preserve his wealth and power. On 29 July, Li Gu was dismissed as Grand Commandant. ==Under Emperor Huan==