The First Ruler felt his end was near and ordered that Zhuge Liang, Zhao Yun, and other key ministers be summoned to Yong'an Palace in Baidi City. Upon hearing the news, Zhuge Liang traveled day and night to arrive. When the First Ruler saw Liang, he struggled to rise, but Liang knelt by his bed. The First Ruler patted his back, tears streaming down his face, and said, 'I and you, my minister, have been through much together; fortunately, we met. Now, sadly, I must depart early, and I entrust affairs to you. You can assist the Crown Prince. If the heir is worthy of assistance, assist him; if he is incompetent, you may become the ruler of Chengdu yourself!'
Zhuge Liang wept, kowtowed, and said, 'I dare to exhaust the strength of my limbs and devote my loyal integrity to repay Your Majesty's grace of knowing me! I will bend my back to the task and give my all until death!'
The First Ruler then called Zhao Yun to his bedside, held his hand, and instructed, 'I and you, my minister, have followed each other through hardships. Now we shall never meet again. I hope you will finish well and protect my son!' After saying this, his tears fell like rain. He then ordered Zhuge Liang to compose a testamentary edict to be given to the Crown Prince, Liu Shan. That night, the First Ruler passed away in Yong'an Palace at the age of sixty-three. Indeed: Before the campaign could succeed, he died first, causing heroes forever to weep with sleeves drenched. Zhuge Liang then supported the Crown Prince, Liu Shan, in ascending the throne, and the reign title was changed to Jianxing.