<a href="https://en.wikipedia.org/wiki/Ming_dynasty" id="mwPA" rel="mw:WikiLink" title="Ming dynasty">Ming</a> general <a href="https://en.wikipedia.org/wiki/Wu_Sangui" id="mwPQ" rel="mw:WikiLink" title="Wu Sangui">Wu Sangui</a> forms an alliance with the invading <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Manchus" id="mwPg" rel="mw:WikiLink" title="Manchus">Manchus</a> and opens the gates of the <a href="https://en.wikipedia.org/wiki/Great_Wall_of_China" id="mwPw" rel="mw:WikiLink" title="Great Wall of China">Great Wall of China</a> at <a href="https://en.wikipedia.org/wiki/Shanhai_Pass" id="mwQA" rel="mw:WikiLink" title="Shanhai Pass">Shanhaiguan</a> pass, letting the Manchus through towards the capital Beijing.