During the <a class="mw-redirect" href="https://en.wikipedia.org/wiki/An_Shi_Rebellion" id="mwGA" rel="mw:WikiLink" title="An Shi Rebellion">An Shi Rebellion</a>, the <a href="https://en.wikipedia.org/wiki/Tang_dynasty" id="mwGQ" rel="mw:WikiLink" title="Tang dynasty">Tang dynasty</a>, with the help of <a href="https://en.wikipedia.org/wiki/Uyghur_Khaganate" id="mwGg" rel="mw:WikiLink" title="Uyghur Khaganate">Huihe</a> tribe, recaptures <a href="https://en.wikipedia.org/wiki/Luoyang" id="mwGw" rel="mw:WikiLink" title="Luoyang">Luoyang</a> from the rebels.