Cao Pi
Cao Pi was a poet, military leader, and the first emperor of the state of Cao Wei. Born in 187, he was the son of the northern warlord Cao Cao, whose power had eclipsed the Han court. When Cao Cao died in 220, Cao Pi took the final step from regent to sovereign: he accepted the abdication of the last Han emperor and founded a new dynasty.
Heir to Cao Cao
Cao Pi was named his father’s heir in 217 after a closely watched succession contest with his younger brother Cao Zhi, a celebrated poet. On Cao Cao’s death, Cao Pi inherited the title of King of Wei and control of the political and military structure his father had built in northern China.
In December 220, Emperor Xian formally yielded the throne to Cao Pi. The ceremony presented the transfer as a legitimate change of dynasties, though it was made under pressure from the powerful regime that had long controlled the Han emperor. Cao Pi took the imperial title and established Wei, while Emperor Xian was given the title Duke of Shanyang.
Ruling a divided empire
Cao Pi worked to secure the new regime’s authority and strengthen its institutions. During his reign, the court adopted the nine-rank system for assessing officials, a framework that shaped government recruitment for centuries. But the new emperor inherited a divided land. Liu Bei established Shu Han in the west, while Sun Quan consolidated power in the southeast as Wu.
Cao Pi led major campaigns against Wu in 222 and 224, but both failed to break the southern rival’s position. Wei remained the strongest of the three states, yet the dream of reunifying the empire stayed out of reach during his lifetime.
Poet and literary critic
Like his father and brother, Cao Pi was a skilled writer. He composed poetry, collected books, and wrote “Discourse on Literature,” an influential early work of Chinese literary criticism. His court attracted writers and scholars, and he helped preserve the legacy of the Jian’an literary era, in which his family played a prominent role.
Cao Pi died in 226, aged 39, and his son Cao Rui succeeded him. Remembered as Emperor Wen of Wei, he stands at a pivotal moment in Chinese history: the ruler who ended the Han dynasty and gave the Three Kingdoms era its defining political shape.




