At the end of the Han Dynasty, Liu Chan (Liu Xiehun) recognized Zhuge Kongming as his only auxiliary government in his amnesia state. When the court refused Wu Ban's request to open the palace, he named his biological mother the "Queen Zhaolie" and did not enter the Ancestral Temple and only offered sacrifices in the farewell hall, so that the Wu family had no basis for holding favors. According to Zhuge's policy, he first pacified the south and then the north, and after the defeat of Jieting, he personally wrote an imperial edict to protect the troops and protect Wang Ping's Liao Hua echelon. When Deng Ai entered Shu, he promised to surrender with the promise of "all the people of Shu". After that, he secretly communicated with Huo Getu and rose up again. He was granted the title of Duke Anle by the Jin Dynasty.