Cao Huan
On 6 September 265, Sima Zhao died without having formally taken imperial authority. Sima Yan became the King of Jin by the next day. On 4 February 266, he forced Cao Huan to abdicate, ending the state of Cao Wei. Four days later, on 8 February 266, he declared himself emperor of the Jin dynasty.