Quick Answer: Who Was Sima Yi?
Sima Yi (司马懿, Sīmǎ Yì, 179–251) was a commander and regent of Cao Wei (曹魏, Cáo Wèi), one of the Three Kingdoms. After taking control of the capital in 249, he broke the power of a rival regent and left his family in a position to dominate the Wei court.[1][2][3]
- Career: He commanded forces against Shu and led a campaign in Liaodong.
- Turning point: He acted while the emperor was visiting the Gaoping Tombs (高平陵, Gāopínglíng).
- Succession: His grandson Sima Yan (司马炎, Sīmǎ Yán) founded Western Jin years later.
The campaign record and the celebrated Empty Fort tale belong to different kinds of evidence.

Sima Yi’s career makes it possible to trace the passage from serving a dynasty to controlling it. The crucial episode took place while Wei’s emperor was away from his capital. It helps explain why Sima Yi’s political legacy outlasted his most famous campaigns.
A Wei Commander Before the Coup
During the Three Kingdoms period, Wei faced rivals across several fronts. Sima Yi held commands under the Cao rulers before he became one of the men responsible for a young emperor. In the west, he opposed expeditions led by Zhuge Liang (诸葛亮, Zhūgě Liàng) of Shu. The historical record places both men in the contest for the frontier, including the final Shu campaign of 234.[1][3][4]
In 238 the Wei court sent Sima Yi northeast against Gongsun Yuan (公孙渊, Gōngsūn Yuān), who controlled Liaodong. Sima Yi took Xiangping, the center of Gongsun’s power. Putting the two theaters side by side helps explain his standing at court. The western command was part of a continuing struggle with another kingdom, while the northeastern expedition brought a regional regime under Wei control.[1][3]
The later Book of Jin presents a founder’s ancestor at work, using imperial language for a man who served Wei during his lifetime. Read its account of appointments and operations with that retrospective viewpoint in mind. A title used by its narrator can reflect Jin’s later honors, rather than the office Sima Yi held on the day of a campaign.[1]
The 249 Coup at the Gaoping Tombs
After Emperor Cao Rui (曹叡, Cáo Ruì) died in 239, Sima Yi and Cao Shuang (曹爽, Cáo Shuǎng) assisted the young emperor Cao Fang (曹芳, Cáo Fāng) as co-regents. Their positions gave both access to the ruler, but Cao Shuang’s faction gained influence at court. The later reversal depended on where their supporters and the emperor were at a particular moment.[1][2][3]
In 249, Cao Shuang and his brothers accompanied Cao Fang to Cao Rui’s tomb. Sima Yi mobilized in Luoyang and invoked the empress dowager’s authority to remove his rivals from office. The emperor was outside the city with Cao Shuang, while Sima Yi controlled key positions inside. The tomb visit mattered because it separated control of the capital from physical access to the ruler.[1][2]
Cao Shuang submitted. He and members of his faction were subsequently executed. The early biography and the later annals shape the story around different subjects, so read the surrender and its consequences before giving decisive weight to any reported speech. The political result is clearer than the motives each account assigns to the people involved.[1][2]
How the Sima Family Reached the Throne
The coup concentrated power in the Sima household, but the Cao imperial line continued to reign. Sima Yi died in 251. His son Sima Shi (司马师, Sīmǎ Shī) took the leading position at the Wei court, and Sima Shi’s brother Sima Zhao (司马昭, Sīmǎ Zhāo) succeeded him. Sima Yan, the son of Sima Zhao, eventually accepted the abdication of the last Wei ruler and established Jin. Wei retained a Cao emperor while the Sima family’s authority passed from one leader to the next.[3]
| Person | Part in the transfer of power |
|---|---|
| Sima Yi | Regent who defeated Cao Shuang in 249. |
| Sima Shi | Son who took over the family’s leadership when Sima Yi died in 251. |
| Sima Zhao | Sima Shi’s brother and successor. |
| Sima Yan | Sima Zhao’s son and founding emperor of Western Jin. |
The Jin Dynasty gives Sima Yi a dynastic legacy, while the history of Wei gives his regency its immediate setting. Keeping those frames separate also helps explain why the Book of Jin opens with him even though its first reigning emperor was his grandson.[1][3]
The Empty Fort and the Historical Record
The Empty Fort Stratagem (空城计, Kōngchéng Jì) is the episode in the Romance of the Three Kingdoms in which Zhuge Liang appears calm before an open city gate. Sima Yi suspects a trap and withdraws. The scene makes each commander’s judgment part of the drama. The novel makes a reversal of expectations carry the scene.[5]
A related anecdote predates the novel. Pei Songzhi preserves Guo Chong’s account in a note to Zhuge Liang’s biography and challenges it using the commanders’ postings. The placement matters. The story and the objection are in the annotation, so a reference to the title of the historical work alone conceals the difference between Chen Shou’s biography and the material later attached to it.[4]
When tracing an episode, check whether it comes from the biography, an annotation or a chapter of the novel. The campaign record establishes the rivalry. To assess the scene at the gate, compare the claims of the anecdote with Pei Songzhi’s objections about time and place.[4][5]
FAQs About Sima Yi
Did Sima Yi found the Jin dynasty?
Sima Yan founded Western Jin. Sima Yi’s defeat of Cao Shuang made his family dominant at the Wei court and helped create the political conditions for the later takeover.
Were Sima Yi and Zhuge Liang real opponents?
Yes. They commanded opposing forces on the western front. The open gate and musical performance belong to a literary tradition with a disputed early analogue.
Did the coup end the Wei dynasty?
Wei continued after the coup. The Sima family controlled more of its government, and the formal dynastic transition came under Sima Yi’s grandson.
Fuentes
[1] Book of Jin, chapter 1. Annals of Emperor Xuan
[2] Chen Shou, Records of the Three Kingdoms, chapter 9. Biography of Cao Shuang
[3] Rafe de Crespigny, East Asian History. The Three Kingdoms and Western Jin: A History of China in the Third Century AD
[4] Chen Shou with Pei Songzhi’s annotations, Records of the Three Kingdoms, chapter 35. Biography of Zhuge Liang and notes
[5] Romance of the Three Kingdoms, chapter 95. The Empty Fort episode