After the end of the Han dynasty in 220, Xu Miao served under Cao Cao's son and successor, Cao Pi, who established the Cao Wei state with himself as the emperor. He lived through the reigns of three Wei emperors – Cao Pi, Cao Rui and Cao Fang – and held various high offices in the Wei government.
Following the fall of the Han dynasty in 220, Xu Miao served under Cao Cao's son and successor, Cao Pi, who established the Wei state with himself as emperor. He witnessed the reigns of three Wei emperors: Cao Pi, Cao Rui, and Cao Fang, holding various important positions within the Wei government.