Western Wei
The Western Wei was one of China's Northern dynasties (535–557), formed when the Northern Wei split. Emperors of the Xianbei Yuan (Tuoba) clan reigned in name, but real power lay with the general Yuwen Tai; the capital was Chang'an. The Western Wei held out against the stronger Eastern Wei and took Sichuan from the Liang, and in 557 Yuwen Tai's son deposed the last emperor and founded the Northern Zhou.