standard armies were supposed to be under his command. He was also put in charge of the defense of Yong'an County (永安縣; present-day Fengjie County, Chongqing) near the border between Shu and its ally state Wu. According to Liu Bei's dying wish, Li Yan should be the military paramountcy within the Shu regime. Liu's choice fell on Li because by 223, other original Yi officials likely to be given the position, Fa Zheng and Dong He had already died, while Huang Quan had surrendered to Wei the year before and Wu Yi (Three Kingdoms) wasn't considered as talented as Li Yan. Service under Shu Han As a co-regent When Yong Kai, a local leader in the Nanzhong region, started a rebellion and declared independence from Shu rule, Li Yan tried to tap into his personal influence to dissuade Yong Kai from doing so, by writing a total of six letters to him, but to no avail. Gao Ding and Meng Huo also fanned the uprising and the campaign became a major revolution, which prompted Zhuge Liang to retaliate with military force. After his successful southern subjugation and repair of the Wu–Shu alliance, Zhuge Liang, utilising his huge bureaucratic power and influence, carried out a series of human resource rearrangement. After prescribing several officers as palace attendants for the young emperor, Zhuge Liang continued to spend considerable effort in strengthening ties with Wu. Chen Zhen (Three Kingdoms), a close associate of Zhuge Liang, was selected to be the ambassador to congratulate Sun Quan's enthronement in 229. Before his departure, Chen Zhen told Zhuge Liang that "Li Yan has scales in his stomach" but Zhuge Liang replied that he would rather praise Li Yan than to attack him because the situation had not been settled. Around 226, Li Yan was promoted to Minister of the Household (光祿勳) and enfeoffed with the Marquis of a Chief District (都鄉侯). The same year, he was given a new rank as General of the Vanguard (前將軍). Later, Zhuge Liang attempted to replace Wei Yan, the area commander of Hanzhong assigned by Liu Bei, with Li Yan. Li Yan was the acting area commander of the eastern front at the time, so such a move transferred him form the east to the north without technically changing his rank; however, Li Yan did not perceive it thus. On the other hand, Li Yan suggested Zhuge Liang to create