Born in Qiao County, adopted into the inner palace by Emperor Ming with shrouded parentage.

Cao Fang (曹芳)
曹芳
Cao Fang (232–274), courtesy name Lanqing, was a native of Qiao County, Pei Commandery, Yu Province (modern Bozhou, Anhui Province). He was the third emperor of Cao Wei during the Three Kingdoms period (reigning from January 22, 239 to October 17, 254; 16 years, eras Zhengshi and Jiaping), the adopted son of Emperor Ming (Cao Rui), demoted to King of Qi after being deposed, and later enfeoffed as Duke of Shaoling District…
PROFILE
Cao Fang (232–274), courtesy name Lanqing, was a native of Qiao County, Pei Commandery, Yu Province (modern Bozhou, Anhui Province). He was the third emperor of Cao Wei during the Three Kingdoms period (reigning from January 22, 239 to October 17, 254; 16 years, eras Zhengshi and Jiaping), the adopted son of Emperor Ming (Cao Rui), demoted to King of Qi after being deposed, and later enfeoffed as Duke of Shaoling District under Western Jin, posthumously honored as Duke Li, known to history as Duke Li of Shaoling. Cao Fang's origins were deliberately veiled in secrecy. As Emperor Ming's biological sons died in infancy without heirs, the emperor secretly adopted Cao Fang and Prince of Qin Cao Xun into the inner palace, concealing their biological parents from the outer court (modern historical scholarship indicates he was likely the son of King of Rencheng Cao Kai, grandson of Cao Zhang and great-grandson of Cao Cao). In 235 (3rd year of the Qinglong era), he was created King of Qi. In January 239 (1st month of the 3rd year of the Jingchu era), on his deathbed, Emperor Ming created eight-year-old Cao Fang crown prince, dying that very afternoon. Cao Fang ascended the throne, with Grand General Cao Shuang and Grand Tutor Sima Yi jointly appointed as co-regents under imperial testament. During the early Zhengshi era, his court enacted benevolent policies: halting extravagant palace construction projects, freeing palace maidens, manumitting state slaves aged sixty and older, digging reservoirs and agricultural colonies at Shaobei in Huainan, establishing sacrificial honors for twenty-one founding heroes at Cao Cao's ancestral temple, directing Guanqiu Jian to crush Goguryeo and engrave victory steles on the eastern frontier, and cultivating the intellectual blossom of Zhengshi Xuanxue and the Three-Script Stone Classics. However, Grand General Cao Shuang monopolized power, sidelining Sima Yi and alienating imperial relatives. In January 249 (10th year of the Zhengshi era), while Cao Fang and Cao Shuang were visiting Gaoping Tomb, Sima Yi executed the Gaoping Tomb Incident, seizing the capital and slaughtering Cao Shuang and his partisans, placing state authority entirely under the Sima clan's control. Following Sima Yi's death, his son Grand General Sima Shi exercised tyrannical regency. In the spring of 254 (6th year of the Jiaping era), Cao Fang secretly allied with Director of the Secretariat Li Feng, imperial father-in-law Zhang Ji, and Minister of Ceremonies Xiahou Xuan in an edict written in blood to assassinate Sima Shi; the plot leaked, and Li Feng and Xiahou Xuan's clans were exterminated. In September 254, Sima Shi coerced Empress Dowager Guo to issue an imperial decree deposing Cao Fang on trumped-up charges of debauchery, demoting him to King of Qi and exiling him to Jinyong and Chongquan, crowning Duke of Gaogui District Cao Mao in his stead. Following the founding of Western Jin in 265, Cao Fang was made Duke of Shaoling District. He passed away in Luoyang in 274 at the age of forty-three, posthumously named Duke Li.
- Courtesy Name
- Lanqing
- Ancestral Home
- Qiao County, Pei Commandery, Yu Province (present-day Bozhou, Anhui)
- Dynasty
- Three Kingdoms · Cao Wei
- Date of Birth
- 232 (6th year of the Taihe era of Emperor Ming of Wei)
- Date of Death
- 274 (10th year of the Taishe era of Emperor Wu of Jin)
- Age at Death
- 43
- Posthumous Title
- Duke Li (posthumously Duke Li of Shaoling District in Western Jin)
- Noble Title
- King of Qi, Duke of Shaoling District
- Highest Position
- Third Emperor of Cao Wei (reigned January 22, 239 – October 17, 254; reign eras: Zhengshi, Jiaping)
- Accurate Identity
- Third Emperor of Cao Wei during the Three Kingdoms, adopted son of Emperor Ming (Cao Rui), King of Qi, Duke Li of Shaoling
LIFE TIMELINE
Enfeoffed as King of Qi by Emperor Ming, instructed in Confucian statecraft by palace scholars.
Made crown prince and ascended the throne at age eight upon Emperor Ming's death; Cao Shuang and Sima Yi regents.
Halted palace construction, freed elder slaves, and established agricultural colonies at Shaobei for displaced refugees.
Decreed that twenty-one founding heroes, including Cao Zhen, Zhang Liao, and Xiahou Shang, be worshipped at Cao Cao's temple.
Ordered Guanqiu Jian to crush Goguryeo at Hwando, receiving tribute missions from dozens of eastern coastal states.
Sima Yi launched a palace coup during imperial visit to Gaoping Tomb, exterminating Cao Shuang and seizing state power.
Plotted with Li Feng, Zhang Ji, and Xiahou Xuan to assassinate Sima Shi; plot betrayed and conspirators slaughtered.
Sima Shi coerced Empress Dowager Guo to depose Cao Fang as King of Qi; Cao Mao crowned new emperor.
Following the Jin usurpation, demoted to Duke of Shaoling District, residing in peace in Luoyang.
Passed away in his private residence in Luoyang at age forty-three, posthumously honored as Duke Li.
Relationship graph
BIOGRAPHY
Detailed Biography
Mysterious Parentage and Childhood Accession
Cao Fang was born in the sixth year of the Taihe era (232) of Emperor Ming (Cao Rui). Regarding his biological paternity, the official dynastic history Records of the Three Kingdoms recorded with deliberate opacity: "The Emperor had no sons; he adopted the King and Prince of Qin Xun, and the inner palace affairs were so shrouded in secrecy that none knew who their biological parents were." At that time, Emperor Ming suffered from frail health, and his biological sons had all died in early infancy, while his consorts bore no further children. To ensure the succession of the dynasty, Emperor Ming secretly adopted two boys from close branches of the imperial family into the palace: Cao Fang (King of Qi) and Cao Xun (Prince of Qin). Historian Hu Sanxing and modern scholars have deduced from genealogical fragments that Cao Fang was very likely the son of King of Rencheng Cao Kai, grandson of legendary general Cao Zhang, and great-grandson of Cao Cao.
In 235 (3rd year of the Qinglong era), four-year-old Cao Fang was created King of Qi. Emperor Ming appointed Confucian scholars to tutor him in statecraft and imperial ritual, and Cao Fang proved intelligent and obedient in his studies.
On January 22, 239 (Jianzi day, 1st month of the 3rd year of the Jingchu era), thirty-six-year-old Emperor Ming fell critically ill in Jiafu Hall in Luoyang. In his dying moments, the emperor appointed Grand General Cao Shuang (son of Cao Zhen) and Grand Tutor Sima Yi as co-regents under his final testament. On that day, the emperor formally invested eight-year-old King of Qi Cao Fang as crown prince. That very afternoon, Emperor Ming passed away while holding Sima Yi's hand. Eight-year-old Crown Prince Cao Fang ascended the throne in the Taiji Hall, proclaiming the new era of "Zhengshi" and honoring Emperor Ming's widow, Empress Guo, as Empress Dowager.
Early Governance in the Zhengshi Era
In the early years of his reign, as Cao Fang was a child, government was directed jointly by Grand General Cao Shuang and Grand Tutor Sima Yi. During this period, the administration took active measures to correct the excesses of Emperor Ming's late reign, implementing a series of benevolent policies:
First, halting labor conscription and liberating enslaved populations. In 240, following an edict from the Empress Dowager, the court suspended construction on the lavish Chonghua and Zhaoyang palaces, dismissing tens of thousands of corvee laborers back to their agricultural fields. Furthermore, an edict freed all state-owned workshop slaves aged sixty and older into free commoner status and released hundreds of older palace maidens, significantly alleviating popular misery.
Second, resettling refugees and constructing hydraulic infrastructure. The court established Xinda and Xinwen counties in Liaodong and Qing-Xu, granting oxen and seed grain to tens of thousands of displaced refugees who had fled the wars of Gongsun Yuan. Simultaneously, official Deng Ai was dispatched to survey Huainan, constructing the massive Shaobei reservoir and opening ten thousand qing of agricultural colonies, transforming the Huai River basin into a granary for the realm.
Third, honoring founding heroes at the ancestral temple. In 243, Cao Fang issued a decree evaluating dynastic merit, establishing that twenty-one preeminent founding generals and ministers—including Cao Zhen, Cao Xiu, Xiahou Shang, Zhang Liao, Yue Jin, Zhang He, and Xu Huang—be worshipped alongside Emperor Wu (Cao Cao) in the imperial ancestral temple, cementing the unity of the imperial clan and military veterans.
Fourth, territorial expansion in the northeast. Between 244 and 246, in response to incursions by Goguryeo, the court ordered Inspector of You Province Guanqiu Jian to launch a punitive expedition. Guanqiu Jian routed the Goguryeo armies at the Feiliu River, stormed their capital at Hwando, and chased their fleeing king to the eastern borders of Okjeo, carving victory steles upon the mountains and prompting dozens of coastal kingdoms to send tribute.
Fifth, philosophical floreat of the "Sound of Zhengshi." In cultural life, the early reign saw unprecedented intellectual vibrancy. Philosophers He Yan, Wang Bi, and Xiahou Xuan championed the doctrine of "Valuing Nothingness," moving beyond rigid Han scholasticism to inaugurate Wei-Jin Xuanxue. The court also carved the Confucian classics in archaic, seal, and clerical scripts into the famed Three-Script Stone Classics (Zhengshi Stone Classics), creating a landmark of Chinese epigraphy.
Factional Strife and the Gaoping Tomb Incident
However, beneath this veneer of cultural flourishing, power struggles within the regency intensified. Grand General Cao Shuang, relying on his imperial kinship, appointed his brothers Cao Xi, Cao Xun, and Cao Yan to command the imperial guard corps.
Following the advice of He Yan, Deng Yang, and Ding Mi, Cao Shuang systematically sidelined Grand Tutor Sima Yi, elevating him to the titular post of Grand Tutor without military authority and removing Empress Dowager Guo to Yongning Palace. Recognizing Cao Shuang's arrogance, Sima Yi feigned senility and illness, retiring to his private estate while training three thousand personal retainers in secret with his son Sima Shi.
On February 5, 249 (6th day, 1st month of the 10th year of the Zhengshi era), eighteen-year-old Cao Fang left Luoyang accompanied by Cao Shuang and his brothers to visit the Gaoping Tomb of Emperor Ming.
Exploiting this vacuum, Sima Yi launched a sudden coup in Luoyang. Seizing the capital armories and palace gates, Sima Yi mobilized his retainers, gained control of the city bridges, and issued a decree in the name of Empress Dowager Guo impeaching Cao Shuang for subverting the late emperor's testament. Sima Yi swore by the Luo River that if Cao Shuang yielded his command, his family and wealth would be preserved.
Cao Shuang vacillated and surrendered, ignoring Huan Fan's advice to retreat to Xuchang and mobilize the empire. The moment Cao Shuang surrendered his seals, Sima Yi broke his oath, arresting Cao Shuang, his brothers, and his intellectual circle (He Yan, Deng Yang, Ding Mi, Bi Gui, Li Sheng), executing them and exterminating their clans. The Gaoping Tomb Incident annihilated the political power of the Cao clan, placing supreme military authority firmly into Sima hands. Cao Fang changed the reign title to Jiaping, reduced to a monitored figurehead.
The Blood Edict Conspiracy and Imperial Purge
In August 251, Sima Yi passed away, and his son Grand General Sima Shi succeeded to supreme power. Sima Shi was ruthless, decisive, and vigilant, placing the young emperor and the inner palace under suffocating surveillance. Court appointments were decided entirely in Sima Shi's mansion, and Cao Fang sat upon the throne as a helpless captive.
In February 254 (6th year of the Jiaping era), during an imperial military inspection at Pingle View, Director of the Imperial Secretariat Li Feng and Grand Palace Grandee Zhang Ji (father of Empress Zhang) sought a private audience with Cao Fang.
Lamenting that the dynasty was slipping into Sima hands, Li Feng and Zhang Ji urged Cao Fang to act boldly. They proposed that during the upcoming spring court assembly, loyal palace guards would ambush and execute Sima Shi; Minister of Ceremonies Xiahou Xuan would then be appointed Grand General, and Zhang Ji Senior General of Agile Cavalry to restore imperial power. Deeply aggrieved by Sima Shi's tyranny, Cao Fang bit his finger and penned a secret edict in blood upon his garment belt, delivering it to Li Feng and Zhang Ji.
However, the plot was betrayed by Sima informants. Acting ruthlessly, Sima Shi summoned Li Feng to his mansion under the guise of discussing state affairs, interrogating him on the plot. When Li Feng refused to confess and reviled him to his face, Sima Shi ordered guards to beat Li Feng to death with the iron pommels of their swords.
Sima Shi then surrounded the mansions of Zhang Ji and Xiahou Xuan, executing their clans to the third degree. Furthermore, Sima Shi sent soldiers into the inner palace, seizing Cao Fang's beloved Empress Zhang and executing her. Cao Fang watched in helpless tears as his wife was dragged away to her death, the dignity of the imperial house utterly shattered.
Deposition as King of Qi and Life Under Western Jin
Having slaughtered Li Feng, Xiahou Xuan, and Empress Zhang, Sima Shi recognized that Cao Fang harbored irreconcilable hatred toward him and resolved to depose the emperor.
In September 254, Sima Shi assembled civil and military officials, presenting a memorial to Empress Dowager Guo that fabricated charges of debauchery and filial impiety, claiming that Cao Fang neglected state duties, indulged in women, and violated ancestral proprieties. Coerced by armed retainers, the weeping Empress Dowager signed the decree of deposition.
On October 17, 254 (19th day, 9th month of the 6th year of the Jiaping era), imperial officers confiscated the imperial seals and jade insignia. Cao Fang was stripped of his robes and escorted out of the palace to the suburban palace of Chongquan, demoted to King of Qi. As his carriage departed the palace gates, Cao Fang wept openly, while ministers bowed their heads in shame. Sima Shi then elevated Cao Mao, Duke of Gaogui District, to the throne.
Living as King of Qi, Cao Fang spent over a decade under close surveillance. He witnessed the bloody death of his successor Cao Mao at the palace gates, and the final abdication of Emperor Yuan (Cao Huan). In December 265, Sima Yan forced the abdication of Cao Huan, founding the Western Jin dynasty. Emperor Wu of Jin (Sima Yan) granted Cao Fang the title of Duke of Shaoling District, granting him tax exemptions and allowing him to live peacefully in Luoyang.
In 274 (10th year of the Taishe era of Western Jin), Duke of Shaoling Cao Fang passed away in his Luoyang residence at the age of forty-three, posthumously named Duke Li. Crowned at the tender age of eight, he reigned for sixteen years under the shadow of regents; though he enacted benevolent policies in his youth and attempted a desperate coup against Sima Shi, he was ultimately undone by the weakness of his clan, closing his life as an enduring symbol of dynastic displacement.
Key Achievements
Accession at Age Eight and Founding the Zhengshi Era
Created crown prince and ascended the throne on January 22, 239 following Emperor Ming's death, guided by co-regents Cao Shuang and Sima Yi.
Halting Extravagance and Implementing Agrarian Relief
Halted lavish palace construction, released elder state slaves into commoner status, and dug the Shaobei irrigation canal to settle displaced populations.
Temple Enshrinement of Twenty-One Founding Heroes
Issued an imperial decree in 243 enrolling twenty-one premier founding heroes—including Cao Zhen, Cao Xiu, and Zhang Liao—in Cao Cao's ancestral temple.
Subjugating Goguryeo and Securing the Northeast Frontier
Commissioned Guanqiu Jian to launch eastern campaigns that captured Hwando, receiving tribute missions from dozens of kingdoms.
Sponsoring Zhengshi Xuanxue and the Three-Script Stone Classics
Nurtured philosophical debate leading to the Sound of Zhengshi championed by He Yan and Wang Bi, while overseeing the carving of the Three-Script Stone Classics.
Reduced to Imperial Figurehead After Gaoping Tomb Coup
Lost all military and administrative authority following Sima Yi's 249 coup and Cao Shuang's execution, living as a watched captive of the Sima family.
Blood Edict Conspiracy Against Sima Shi and Deposition
Issued a secret blood edict to Li Feng and Xiahou Xuan in 254 to assassinate Sima Shi; plot betrayed, leading to his deposition as King of Qi and exile to Chongquan.
Surviving Dynastic Transition as Duke Li of Shaoling
Enfeoffed as Duke of Shaoling District upon the Western Jin founding in 265, passing away in Luoyang in 274 at age forty-three, posthumously named Duke Li.
Relationships
- Adoptive Father: Cao Rui (Emperor Ming of Wei, who raised Cao Fang and bequeathed him the throne)
- Biological Father (Scholarly Deduction): Cao Kai (King of Rencheng, son of Cao Zhang, grandson of Cao Cao)
- Mother: Empress Dowager Guo (Mingyuan Empress Guo, coerced by Sima Shi to sign the decree of deposition)
- Empresses: Empress Zhen (Huizhen Empress, died early), Empress Zhang (daughter of Zhang Ji, executed by Sima Shi)
- Regents: Cao Shuang (Grand General, executed in 249), Sima Yi (Grand Tutor, executed the Gaoping Tomb coup)
- Conspirators: Li Feng (Director of the Secretariat, beaten to death), Zhang Ji (Grand Palace Grandee), Xiahou Xuan (Minister of Ceremonies)
- Persecutor: Sima Shi (Grand General, executed loyalists and deposed Cao Fang)
- Successor Emperors: Cao Mao (Duke of Gaogui District), Cao Huan (Emperor Yuan of Wei)
- Jin Sovereign: Sima Yan (Emperor Wu of Jin, who created Cao Fang Duke of Shaoling)
Historical Evaluation
- Chen Shou, Records of the Three Kingdoms, vol. 4: "The King of Qi inherited imperial dominion yet was controlled by overbearing ministers; welcoming Gaogui and sitting deposed at Chongquan... Though one might wish to excuse his errors, how could that be possible!"
- Sima Shi, Memorial of Deposition: "The King of Qi, Fang, is of mature years yet neglects statecraft, indulging in music and women... he cannot receive the mandate of Heaven and should be deposed in due season."
- Pei Songzhi citing Chronicles of the House of Wei: "The Emperor was quick-witted in youth; attaining adulthood, he enjoyed hunting and frequently sighed in secret over his plight... yet in the end he could not revive the state."
- Dynastic Historians: Duke Shaoling inherited the throne as an eight-year-old child, caught between the arrogance of Cao Shuang and the ravenous ambitions of the Sima family. In the early Zhengshi era, he halted palace labor, freed slaves, built canals, enshrined heroes, and conquered Goguryeo—truly displaying the grandeur of a wise monarch! Yet with the catastrophe at Gaoping Tomb, the seals of power were lost; his blood edict on the belt attempted the heroics of Emperor Xian against Cao Cao, but Xiahou Xuan was butchered at the marketplace, and Empress Zhang died in the inner palace. The conspiracy was noble, but his power was spent! Sima Shi fabricated charges of debauchery to banish him to Jinyong and Chongquan. Living out his days under Jin and receiving the posthumous title of Li, reading the tragic history of his sixteen-year reign, one knows that the fall of the dynasty lay not in his modest abilities, but in the ruthless suppression of the imperial clan by his ancestors and the mortal rivalry of power brokers. How can one place all blame upon Shaoling alone!
Related Entries
- Cao Rui
- Cao Shuang
- Sima Yi
- Sima Shi
- Xiahou Xuan
- Gaoping Tomb Incident
- Sound of Zhengshi
- Zhengshi Stone Classics
- Guanqiu Jian's Goguryeo Campaigns
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Chen Shou, Records of the Three Kingdoms, vol. 4, "Book of Wei 4: Annals of the Three Young Emperors—Annals of the King of Qi Fang"
- Chen Shou, Records of the Three Kingdoms, vol. 9, "Book of Wei 9: Biographies of Xiahou and Cao Clans—Biography of Cao Shuang"
- Chen Shou, Records of the Three Kingdoms, vol. 2, "Annals of Emperor Wen", vol. 3, "Annals of Emperor Ming"
- Chen Shou, Records of the Three Kingdoms, vol. 28, "Biography of Guanqiu Jian"
- Fang Xuanling et al., Book of Jin, vol. 1, "Annals of Emperor Xuan", vol. 2, "Annals of Emperor Jing"
- Xi Zuochi, Spring and Autumn Annals of Han and Jin