Han Xiandi
Cao Huan succeeded to the throne in 260 after Cao Mao was killed in a failed coup against Sima Zhao. Soon after, Sima Zhao died and his title as Duke of Jìn was inherited by his son Sima Yan. Sima Yan immediately began plotting to become emperor but faced stiff opposition. Following advice from his advisors, Cao Huan decided the best course of action would be to abdicate, unlike his predecessor Cao Mao. Sima Yan seized the throne in 266 after forcing Cao Huan's abdication, effectively overthrowing the Wei dynasty and establishing the successor Jin dynasty. This situation was similar to the deposal of Emperor Xian of Han by Cao Pi 40 years earlier.