Zhuge Liang then unfolded his grand plan, analyzing the general situation of the land for Liu Bei, saying: 'Since Dong Zhuo started the rebellion, heroes have risen everywhere. Cao Cao controls the emperor to command the nobles, has already amassed a million troops, and cannot be challenged directly. Sun Quan holds Jiangdong, with natural defenses and the people's support; he, too, cannot be taken. General, if you wish to achieve hegemony, you should first take Jingzhou as your foundation, then later capture Yizhou for support. When the time is ripe and changes occur in the land, you can then send out troops, march north to attack Cao Wei, and in the south annex Sun Quan—the great cause can be accomplished.' This is the 'Longzhong Plan.' When Liu Bei heard this, it was like clouds parting to reveal the sun; overjoyed, he said: 'Your words, sir, have suddenly enlightened my dull mind. I wish to follow your teachings!' He then invited Zhuge Liang to leave the mountain and help restore the Han dynasty. Zhuge Liang, moved by his sincerity, agreed to leave the mountain and assist Liu Bei. Later generations composed a poem in praise: 'His merit overshadowed three kingdoms, his fame was sealed in the Eight Formation Diagram. Under the autumn wind at Wuzhangyuan his star fell; before his noble ambition was fulfilled, his body perished.'
Speaking of Liu Bei when he was in Fancheng, he often thought of seeking the wise. Mi Zhu and Mi Fang spoke of the Xiangyang recluses Sima Hui and Pang Tong, and later heard of Xu Shu, who all praised the talent of Nanyang's Sleeping Dragon, Zhuge Liang.
Liu Bei then went to Longzhong to visit Zhuge Liang. The first time, he did not meet him. The second time, he again failed to meet him; he only met his younger brother, Zhuge Jun. Zhang Fei was impetuous, and Guan Yu also voiced some complaints.
Liu Bei was persistent; he visited Longzhong three times. On that day, Zhuge Liang happened to be in his thatched cottage. Liu Bei dismissed his attendants and respectfully sought instruction.
Zhuge Liang analyzed the general situation of the land for Liu Bei, saying: ' Since Dong Zhuo's rebellion, heroes from all over the land have risen together. Cao Cao controls the emperor to command the nobles—truly, he cannot be challenged. Sun Quan holds Jiangdong, which has passed through three generations; the land is dangerous and the people supportive—he can also be an ally but cannot be plotted against. Jingzhou's Liu Biao has a prosperous people and a wealthy state, but his sons are incompetent. Yizhou's Liu Zhang is weak and fatuous, and the people are alienated. General, if you wish to achieve hegemony, you should first take Jingzhou and Yizhou as your foundation; then, to the west, make peace with the various Rong tribes, to the south, pacify the Yi and Yue peoples, externally ally with Sun Quan, and internally improve governance; when the time is ripe and changes occur, you can then send out troops, and the great cause can be accomplished.' This is the 'Longzhong Plan.'