The Western Wei Dynasty (Chinese: 西魏朝; pinyin: Xī Wèi Cháo) followed the disintegration of the Northern Wei, and ruled northern China from 535 to 556.
After the Xianbei general Yuwen Tai killed the Northern Wei emperor Yuan Xiu, he installed Yuan Baoju as emperor of Western Wei while Yuwen Tai would remain as the virtual ruler. Although smaller than the Eastern Wei in territory and population, Western Wei was able to withstand the attacks from the eastern empire. Due to its better economical conditions, Western Wei was even able to conquer the whole western part of the Liang empire in the south and occupied the territory of modern Sichuan. In 557 Yuwen Tai's nephew Yuwen Hu deposed Emperor Gong and placed Yuwen Tai's son Yuwen Jue on the throne, ending Western Wei and establishing Northern Zhou.