The Battle of Shayuan (Chinese: 沙苑之役; pinyin: Shāyuàn Zhī Yì) was fought in 537 AD and was the second major battle between the two successor states of Northern Wei during the Southern and Northern Dynasty period. During the battle, Yuwen Tai of Western Wei successfully ambushed and miraculously defeated the more than twenty times larger Eastern Wei army of Gao Huan that was marching towards Chang'an. The battle firmly established Western Wei's control of the Guanzhong Plain.
Background By the start of the 6th century AD, the Northern Wei dynasty had been in control of north China for over 100 years. However, a series of events at the beginning of the century would bring about its collapse. The Six Garrisons rebellion began in 523, with the garrisons of the major forts guarding the dynasty’s northern border turning against their commanders and the government, beginning a rebellion that would send the region into chaos. It also inspired numerous other rebellions throughout the empire, each with their own grievances against the Northern Wei. This situation was not helped by the fact that the Northern Wei court was almost always in crisis. In 528 the 18 year old Emperor Xiaoming was killed by his own mother, Empress Dowager Hu, who was in turn killed by the general Erzhu Rong. Erzhu Rong successfully put down many of the rebellions against the Northern Wei, but he was killed by the new Emperor Xiaozhuang in 530, who was then captured and killed by Erzhu Shilong and Erzhu Zhao. It was during this time that Gao Huan rose to prominence. Gao Huan was from a poor family and had been serving numerous rebel warlords before meeting Erzhu Rong. He soon impressed Erzhu and was made one of his commanders, participating in his takeover of the imperial government and campaigns against various rebels. Following Erzhu Rong’s assassination he initially supported Erzhu Shilong and Erzhu Zhao against Emperor Xiaozhuang, but shortly after the emperor’s death he became convinced that he could defeat the Erzhu clan and so rebelled against them. Thus another civil war broke out and by 532 Gao Huan had defeated and killed the Erzhus and took control of the imperial government. The new Emperor Xiaowu attempted to resist Gao Huan’s influence by aligning himself with another general called Heba Yue, who controlled many of the western provinces. Gao Huan managed to persuade another warlord called Houmochen Yue to betray Heba Yue, and Houmochen had Heba assassinated, however he failed to take over Heba Yue’s army which was then brought under control by Heba’s second in command Yuwen Tai. Yuwen Tai was a descendant of the Xianbei Yuwen tribe and had been serving under many warlords during the recent series of civil wars, but had only risen to prominence under Heba Yue. Yuwen attacked and defeated Houmochen Yue, who committed suicide. In 534 Gao Huan became aware that Emperor Xiaowu was building troops to fight him and so marched towards the capital Luoyang, forcing Emperor Xiaowu to flee to the territory of Yuwen Tai. Gao Huan tried to convince Xiaowu to return to Luoyang but when this failed he made Yuan Shanjian emperor (as emperor Xiaojing). There were now two emperors, thus splitting the Northern Wei dynasty into Eastern Wei and Western Wei. However this wouldn’t have seemed permanent to many at the time, as Gao Huan’s Eastern Wei was larger and militarily stronger and Western Wei did not look likely to survive. Yuwen Tai nevertheless prepared to resist Gao Huan. The Volcanic winter of 536 had led to famine in the Guanzhong region that year. Eastern Wei also suffered from the volcanic winter, with hailstorms and drought across multiple commanderies in autumn 536.
… excerpt ends here. Continue reading the full article.

