西魏
Neither Eastern Wei nor Western Wei was long-lived. In 550, Gao Huan's son Gao Yang forced Emperor Xiaojing of Eastern Wei to yield the throne to him, ending Eastern Wei and establishing the Northern Qi. Similarly, in 557, Yuwen Tai's nephew Yuwen Hu forced Emperor Gong of Western Wei to yield the throne to Yuwen Tai's son Yuwen Jue, ending the Western Wei and establishing the Northern Zhou. In 581, the Northern Zhou official Yang Jian had the emperor to yield the throne to him, establishing the Sui Dynasty, finally extinguishing the imperial rule of the Xianbei.