After Zhuge Liang entered Sichuan, he deployed troops and joined forces with Liu Bei to besiege Luo City. After Luo City fell, the army directly advanced toward Chengdu. At that time, Ma Chao, having been defeated by Cao Cao, sought refuge with Zhang Lu in Hanzhong and was ordered by Zhang Lu to attack Liu Bei. Ma Chao was exceptionally brave and fought hundreds of rounds with Zhang Fei without either gaining the upper hand. Zhuge Liang, well aware of Ma Chao's abilities, used a stratagem of sowing discord to make Zhang Lu suspicious of Ma Chao, then sent Jian Yong to persuade Ma Chao to surrender. Moved by their sincerity, Ma Chao surrendered to Liu Bei together with Ma Dai. Liu Bei was overjoyed and treated Ma Chao generously. After Ma Chao's surrender, his fame spread far and wide. In Chengdu, Liu Zhang heard that Ma Chao had defected, and his army's morale collapsed, causing fear both inside and outside the city. Seizing the opportunity, Zhuge Liang urged Liu Zhang to surrender and sent Jian Yong into the city to persuade him. Seeing that the situation was hopeless, Liu Zhang opened the city gates and surrendered. Liu Bei entered Chengdu, reassured the people, exempted them from taxes and grain levies, and committed no wrongdoings whatsoever. The scholars and commoners were all delighted. Liu Bei then held a banquet in Chengdu to entertain his civil and military officials, and assumed the title of Governor of Yizhou. Thus, Liu Bei gained Yizhou, and the Han imperial foundation secured another foothold. Later generations composed a poem in praise: 'Fledgling Phoenix broke its wing, Heaven's star fell; Kongming emerged from seclusion to aid the rise. Ma Chao submitted, Chengdu was settled; The tripartite world's great work was done.'