Input (grade 12): After Cao Cao's death in 220, Cao Pi did indeed force Emperor Xian to yield the throne to him, ending the Han Dynasty and establishing Cao Wei.
Output (grade 12): After Cao Cao's son Cao Pi started the Wei Dynasty in 220, Liu Bei also wanted to be an emperor and declared himself Emperor of Shu Han in 221.