<a href="https://en.wikipedia.org/wiki/Battle_of_Huoyi" id="mwEQ" rel="mw:WikiLink" title="Battle of Huoyi">Battle of Huoyi</a>: <a href="https://en.wikipedia.org/wiki/Emperor_Gaozu_of_Tang" id="mwEg" rel="mw:WikiLink" title="Emperor Gaozu of Tang">Li Yuan</a> defeats a <a href="https://en.wikipedia.org/wiki/Sui_dynasty" id="mwEw" rel="mw:WikiLink" title="Sui dynasty">Sui dynasty</a> army, opening the path to his capture of the imperial capital <a href="https://en.wikipedia.org/wiki/Chang'an" id="mwFA" rel="mw:WikiLink" title="Chang'an">Chang'an</a> and the eventual establishment of the <a href="https://en.wikipedia.org/wiki/Tang_dynasty" id="mwFQ" rel="mw:WikiLink" title="Tang dynasty">Tang dynasty</a>.