董允
Not long later, Zhuge Liang nominated Dong Yun to serve as a Palace Attendant (), commissioned him as a General of the Household () and put him in command of the "huben" division of the imperial guards. As his colleague Guo Youzhi, who also held the position of a Palace Attendant, tended to be mild-tempered and non-confrontational when dealing with people, the burden of advising the emperor Liu Shan and speaking up on difficult issues largely rested on Dong Yun's shoulders. Dong Yun performed his duties well and did his best to plan ahead and preempt problems that could possibly arise.