Cao Cao died in 220 , and his son Cao Pi followed him in control of the emperor .
Cao 's eldest surviving son Cao Pi succeeded him . Within a year , Cao Pi forced Emperor Xian to abdicate and proclaimed himself the first emperor of Cao Wei .