Cao Huan (246-303),
courtesy name Jingming, was the fifth and last emperor of the state of
Cao Wei during the
Three Kingdoms period. In 265, he abdicated the throne in favour of
Sima Yan (later Emperor Wu of the
Jin dynasty), and brought an end to the Wei regime. After his abdication, Cao Huan was granted the title "Prince of Chenliu" and held it until his death, after which he was
posthumously honoured as "Emperor Yuan (of Cao Wei)".