The Battle of Huoyi (霍邑之戰; Wade–Giles: Huo-i) was fought in China on 8 September 617, between the forces of the rebel Duke of Tang, Li Yuan, and the army of the ruling Sui dynasty. Li Yuan, with an army of around 25,000, was advancing south along the Fen River towards the imperial capital, Daxingcheng (the modern Xi'an). His advance was stalled for two weeks due to heavy rainfall, and he was met at the town of Huoyi by an elite Sui army of 20,000 (or 30,000) men. Li Yuan's cavalry, under the command of his two eldest sons, lured the Sui out of the protection of the city walls, but in the first clash between the two main armies, Li Yuan's forces were initially driven back. At that point, possibly due to a stratagem on Li Yuan's behalf, the arrival of the rest of the rebel army, or the flanking maneuver of Li Yuan's cavalry, which had gotten behind the Sui army, the Sui troops collapsed and routed, fleeing back towards Huoyi. Li Yuan's cavalry, however, cut off their retreat. The battle was followed by the capture of weakly defended Huoyi and the advance on Daxingcheng, which fell to the rebels in November. The following year, Li Yuan deposed the Sui and proclaimed himself emperor, beginning the Tang dynasty.
Background During the later reign of Emperor Yang, the second emperor of the Sui dynasty, imperial authority began to wane. The main reason was the immense material and human cost of the protracted and fruitless attempts to conquer the Korean kingdom of Goguryeo. Coupled with natural disasters, the conscription of more and more men for the war and the hoarding of scarce grain reserves for the army's needs increased provincial discontent. As a result, from 611 on, rural revolts broke out across the empire, and with the Emperor's prestige and legitimacy diminished by military failure, ambitious provincial magnates were encouraged to challenge his rule. Yang continued to be fixated on the Korean campaigns, and only as unrest spread within the empire and the powerful Eastern Turks turned hostile, did he realize the gravity of the situation: in 616, he abandoned the north and withdrew to Jiangdu, where he remained until his assassination in 618. With the Emperor's withdrawal from the scene, local governors and magnates were free to advance their ambitions to power. Nine major contenders emerged, some claiming the imperial title for themselves. In contrast, others, like Li Mi in Henan, contented themselves, for the time being, with the more modest titles of 'Duke' (gōng) and 'King' (wáng). Among the most well-positioned contenders was Li Yuan, Duke of Tang and governor of Taiyuan in the northwest (modern Shanxi). A scion of a noble family related to the Sui dynasty and with a distinguished career behind him, Li Yuan was an obvious candidate for the throne: his province possessed excellent natural defenses in the form of the Taihang Mountains, a heavily militarized population, and was located near the imperial capitals of Daxingcheng (Chang'an) and Luoyang.
Li Yuan's march south
… excerpt ends here. Continue reading the full article.


