220 CE
East Asia (China) · Kingdom

Cao Wei

220–266 CE

Overview

Northernmost and strongest of the Three Kingdoms, founded by Cao Pi (capital Luoyang) after deposing the last Han emperor in 220. Held the Yellow River plains; usurped by the Sima clan to become the Jin in 266.

Cao Wei (House of Cao)

Cao Wei (220–266 CE) was the strongest of the Three Kingdoms, founded when Cao Pi received Emperor Xian's abdication and asserted the Heavenly Mandate through the shanrang ritual. The dynasty inherited Cao Cao's reunified northern China, including the North China Plain, Yellow River basin, and northwestern marches, and expanded further under Cao Rui with the conquest of Liaodong (238 CE) and campaigns against Goguryeo (244–245 CE). Internal succession struggles enabled the Sima clan to displace Cao authority: after the Gaopingling coup (249 CE) Sima Yi and his sons Sima Shi and Sima Zhao reduced successive Cao emperors to figureheads. The 263 CE conquest of Shu Han temporarily expanded Wei to its greatest territorial extent before Sima Yan forced the last emperor Cao Huan to abdicate in 266 CE, founding the Western Jin dynasty.

Territory Phases

  1. Cao Wei — Founding & Consolidation220 CE226 CE

    Cao Wei founded when Cao Pi received Emperor Xian's abdication (11 December 220 CE) via the shanrang ritual, inheriting Cao Cao's reunified northern China. Capital initially at Xuchang during the transition, with Luoyang soon restored as the primary imperial seat. Core control over the North China Plain, Yellow River basin, Shandong, Shanxi, and Hebei; southern frontier along the Huai River approaches facing Eastern Wu; western reach toward the contested Chang'an/Guanzhong region facing Shu Han.

  2. Cao Wei — Imperial Maturity & Northern Expansion226 CE249 CE

    Under Emperor Cao Rui the capital was firmly at Luoyang and the state reached its political and military high point under direct Cao rule. Wei repelled all five of Zhuge Liang's Northern Expeditions (228–234 CE) on the Qinling front, conquered the semi-independent Gongsun regime in Liaodong (238 CE), and shattered Goguryeo's power (244–245 CE). Stable control over the Central Plains and northern provinces; tributary influence extended to the Western Territories oasis states.

  3. Cao Wei — Sima Ascendancy & Internal Strife249 CE260 CE

    After the Gaopingling Incident (249 CE) the Sima clan held de facto control; Cao emperors Cao Fang (deposed 254) and Cao Mao (killed 260) became figureheads. Territorial extent was essentially unchanged from the imperial-maturity core — focus shifted inward to regency coups and the Shouchun rebellions (254–258 CE), which were suppressed. Northern and southern frontiers were held with no net expansion.

  4. Cao Wei — Peak Conquest & Transition to Jin260 CE266 CE

    Wei reached its greatest territorial extent after the 263 CE conquest of Shu Han (incorporating Yizhou/Sichuan basin and Nanzhong) under generals Deng Ai and Zhong Hui. Capital remained at Luoyang; northern and northeastern control intact. Real power rested entirely with Sima Zhao and then Sima Yan, who forced the last emperor Cao Huan to abdicate in 266 CE, ending Cao Wei and founding the Western Jin dynasty.

Key Rulers

Cao Pi (曹丕; courtesy name Zihuan; Emperor Wen 文帝)

220 CE – 226 CE

★★★

First reigning emperor of Cao Wei; eldest surviving son of Cao Cao. Compelled Emperor Xian of Han to abdicate on 11 December 220 CE via the shanrang ritual, formally ending the Eastern Han. Established the Nine-Rank System (jiupin zhongzheng) for official selection, patronized Jian'an poetry and literature, and cemented the new dynasty's cultural and administrative direction. Ruled briefly but set Cao Wei's institutional foundations.

Cao Rui (曹叡; Emperor Ming 明帝)

226 CE – 239 CE

★★

Son of Cao Pi; widely regarded as the political and military high point of Cao Wei under direct Cao family rule. Successfully repelled all five of Zhuge Liang's Northern Expeditions (228–234 CE) through Sima Yi and other generals, and authorized Sima Yi's conquest of Liaodong (238 CE). Strengthened central authority, invested in Luoyang's palace and infrastructure, and maintained frontier stability on northern and southern fronts. His designation of regents before his death in 239 CE inadvertently enabled the Sima ascendancy.

Cao Fang (曹芳; Prince/Duke of Shaoling; posthumous Shao Ling Gong)

239 CE – 254 CE

Adopted son and designated heir of Cao Rui; reigned as child and young emperor under co-regents Cao Shuang and then Sima Yi after the Gaopingling Incident (249 CE). Deposed by Sima Shi in 254 CE on fabricated rebellion charges and reduced to Prince of Qi; lived in retirement until 274 CE. Symbol of the erosion of Cao imperial power under Sima regency dominance.

Cao Mao (曹髦; Duke of Gaoguixiang; posthumously demoted, later re-honored)

254 CE – 260 CE

★★

Great-grandson of Cao Cao; installed as emperor by Sima Shi after Cao Fang's deposition. Attempted a desperate coup against Sima Zhao in 260 CE to restore Cao imperial authority, rallying a small personal retinue, but was killed by guards under Jia Chong in a public assassination. His failed resistance exposed the complete dominance of the Sima clan and created a political crisis that accelerated the final usurpation.

Cao Huan (曹奐; Emperor Yuan 元帝)

260 CE – 266 CE

Last Cao emperor; great-grandson of Cao Cao, installed after Cao Mao's death and kept as a complete figurehead under Sima Zhao and then Sima Yan. His reign witnessed the conquest of Shu Han (263 CE) and the territorial peak of Cao Wei, though real power rested entirely with the Sima. Forced to abdicate to Sima Yan on 4/8 February 266 CE, ending Cao Wei and founding the Jin dynasty; lived in comfortable retirement until 302 CE.

Key Events

Abdication of Emperor Xian and Founding of Cao Wei220 CE

On 11 December 220 CE Cao Pi, inheriting Cao Cao's titles and court control, compelled the last Han emperor Xian to abdicate via the traditional shanrang ritual, transferring the Heavenly Mandate to the Cao family. Cao Pi proclaimed himself Emperor Wen of Wei, formally ending four centuries of Han rule. Liu Bei and Sun Quan soon contested the legitimacy, establishing the tripartite Three Kingdoms division. Encoded as 'inscription' following the established convention for abdication edicts and shanrang proclamations.

Battle of Shiting228 CE

A major Wei campaign against Eastern Wu ended in defeat for Wei forces at Shiting (near the modern Anhui/Jiangsu border). Demonstrates that despite being the strongest of the Three Kingdoms, Wei was not invulnerable in southern operations and faced effective resistance from Wu's defensive strategy along the Huai River frontier.

Zhuge Liang's Northern Expeditions (228–234 CE)228 CE

Shu Han chancellor Zhuge Liang launched five major invasions of Wei along the western Qinling front (228–234 CE), targeting Chang'an via the Qishan approaches in modern Gansu and Shaanxi. Wei forces under Cao Zhen, Sima Yi, and Zhang He repelled all incursions with minimal territorial loss. The campaigns strained both states but demonstrated Wei's defensive resilience; they ended definitively with Zhuge Liang's death in camp at Wuzhang Plains in 234 CE.

Sima Yi's Conquest of Liaodong238 CE

Sima Yi led approximately 40,000 troops in a three-month siege and campaign against the Gongsun clan at Xiangping (modern Liaoyang), eliminating a long-standing semi-independent power in Liaodong Commandery. Goguryeo cooperated with Wei during the campaign. The victory secured Wei's northeastern frontier and extended direct imperial administration to the Liaodong peninsula, enabling subsequent campaigns into Goguryeo territory.

Wei–Goguryeo War244 CE

General Guanqiu Jian led Wei campaigns (244–245 CE) deep into Goguryeo territory, capturing the capital at Hwando (near modern Ji'an, Jilin Province) and temporarily shattering the kingdom's military power. The campaigns demonstrated Wei's reach into northeastern Asia, had major consequences for regional power dynamics, and forced Goguryeo into a generation-long rebuilding phase.

Gaopingling Incident (Sima Yi Coup)249 CE

While the young emperor Cao Fang attended a ritual visit to the tomb at Gaopingling near Luoyang, Sima Yi — officially retired as co-regent — seized control of the capital's gates, weapons arsenals, and imperial secretariat in a swift coup against co-regent Cao Shuang and his faction. Cao Shuang surrendered on promises of safety but was subsequently executed along with his allies on rebellion charges. This event initiated permanent Sima clan dominance over the Wei court, reducing Cao emperors to figureheads.

Deposition of Cao Fang; Guanqiu Jian's Rebellion (Second Shouchun Rebellion)254 CE

Sima Shi deposed Cao Fang in 254 CE on fabricated rebellion charges and installed Cao Mao as emperor. The following year Guanqiu Jian and Wen Qin rebelled at Shouchun (Shou County, Anhui) against Sima domination — the Second of the Three Rebellions in Shouchun (the First having been Wang Ling's abortive 251 CE plot). The revolt was suppressed and Sima Shi died of illness shortly after. These events further weakened Cao legitimacy and consolidated Sima Zhao's subsequent power.

Zhuge Dan's Rebellion (Third Shouchun Rebellion)258 CE

Wu-allied general Zhuge Dan — a distant clan relative of Shu Han's Zhuge Liang — rebelled against Sima Zhao from Shouchun, receiving Eastern Wu military support. After prolonged fighting Sima Zhao suppressed the rebellion; Zhuge Dan was killed. This was the last major military challenge to Sima authority from within the Wei officer corps before the final usurpation phase.

Cao Mao's Failed Coup and Death260 CE

Emperor Cao Mao, openly declaring 'Sima Zhao's ambition is known to all on the street,' rallied a small retinue of palace servants and subordinates in a desperate attempt to seize power from regent Sima Zhao. The coup was immediately crushed; Cao Mao was stabbed to death by Cheng Ji, an officer acting under Jia Chong — an unprecedented act of regicide against a sitting emperor. To deflect blame, Sima Zhao had Cheng Ji and his family executed as scapegoats while sparing Jia Chong, then accelerated plans for formal usurpation.

Conquest of Shu Han263 CE

Wei armies under generals Deng Ai, Zhong Hui, and Zhuge Xu invaded Shu Han in 263 CE in a coordinated three-pronged assault. Deng Ai executed a daring march through the precipitous Yinping Pass, bypassing Shu defenses and capturing the Sichuan basin capital Chengdu; Emperor Liu Shan surrendered without a final battle. Zhong Hui and Jiang Wei subsequently attempted their own coup but were suppressed. The conquest brought Yizhou (Sichuan) and Nanzhong into Wei territory, massively expanding its southwestern extent to its largest ever area.

Abdication of Cao Huan and Founding of Western Jin266 CE

On 4/8 February 266 CE Sima Yan (son of Sima Zhao, who had died in 265 CE) forced the last Cao emperor Huan to abdicate via the shanrang ritual, mirroring Cao Pi's receipt of the Han abdication 46 years earlier. Sima Yan proclaimed the Jin dynasty (Emperor Wu of Jin). Cao Huan was demoted to Duke of Chenliu but spared; he lived until 302 CE. Cao Wei ceased to exist as an independent polity. Encoded as 'inscription' (formal shanrang abdication edict).

Related Civilisations

Predecessors

Successors

jin_sima_founding

Contemporaries

Sources

  1. Seshat/Cliopatria
  2. Chen Shou (陳壽), Sanguozhi (Records of the Three Kingdoms / 三國志), c. 289 CE(The official history of the Three Kingdoms compiled c. 289 CE under the Jin dynasty. Primary biographical and event records for Cao Wei, Shu Han, and Eastern Wu; core source for rulers, institutional history, and military campaigns of Cao Wei.)
  3. Pei Songzhi (裴松之), Sanguozhi zhu (Annotations to the Records of the Three Kingdoms), 429 CE(Extensive commentary and supplementary primary materials added to Chen Shou's Sanguozhi in 429 CE under the Liu Song dynasty. Preserves otherwise lost sources and enriches the Wei annals with additional biographical and event detail.)
  4. Sima Guang (司馬光) et al., Zizhi Tongjian (Comprehensive Mirror in Aid of Governance / 資治通鑑), 1084 CE(Comprehensive chronological chronicle compiled for the Northern Song court in 1084 CE covering Chinese history 403 BCE – 959 CE. Synthesises earlier sources on Cao Wei political and military history into a coherent narrative. DISTINCT from Sima Qian's Shiji (src_sima_grand_-89 / src_sima_inscription_nd etc.).)
  5. de Crespigny, Rafe (1996) To Establish Peace: Being the Chronicle of Later Han for the Years 189 to 220 AD as Recorded in Chapters 59 to 69 of the Zizhi tongjian of Sima Guang(Scholarly translation and analysis of the Zizhi Tongjian chapters covering 189–220 CE — the period from Dong Zhuo's coup through Cao Cao's consolidation and Cao Pi's founding of Wei. Essential for the immediate pre-founding context of Cao Wei.)
  6. de Crespigny, Rafe (2010) Imperial Warlord: A Biography of Cao Cao 155–220 AD(In-depth scholarly biography of Cao Cao covering his campaigns, administration, and institutional foundations of Cao Wei. Standard secondary reference for Cao Cao's military strategy, tuntian (military colony) system, and merit-based appointments.)
  7. Dien, Albert E. and Knapp, Keith N. (eds.) (2019) The Cambridge History of China, Volume 2: The Six Dynasties, 220–589(Authoritative English-language scholarly synthesis of the Six Dynasties period. De Crespigny's chapter 1 'Wei' (pp. 21–65) is the standard English reference for Cao Wei political history, territorial extent, and institutions. Used for all four phases.)
  8. de Crespigny, Rafe (2007) A Biographical Dictionary of Later Han to the Three Kingdoms (23-220 AD)(Comprehensive prosopographical reference covering Eastern Han rulers, officials, generals, warlords (Cao Cao, Liu Bei, Sun Quan), and the Three-Kingdoms transition. Standard English-language reference for the period 23–220 CE; used for Eastern Han ruler data and warlord-era events.)