Liu Xuan
Huo Yi was appointed as a Gentleman of the Yellow Gate (黃門侍郎) after Zhuge Liang died in 234. Later, when Liu Shan designated his son Liu Xuan as his heir apparent, he appointed Huo Yi as a "zhongshuzi" (中庶子; an aide) to Liu Xuan. Liu Xuan enjoyed horse-riding and archery and used to behave recklessly, but Huo Yi managed to use teachings from ancient classics to persuade Liu Xuan to improve his behaviour and he succeeded in doing so. He was later reassigned to be in charge of military affairs in the Nanzhong region in the southern part of Shu. When the tribal peoples in Yongchang Commandery (永昌郡) caused trouble, Huo Yi was appointed as the Administrator of Yongchang and was ordered to lead troops to attack the tribes. Huo Yi achieved victory as he killed the tribal chiefs, destroyed their bases and restored peace at the borders of Yongchang. For his contributions, he was promoted to General Who Inspects the Army (監軍將軍) and appointed as the Administrator of Jianning Commandery (建寧郡), effectively being in charge of affairs in Nanzhong.