The <a href="https://en.wikipedia.org/wiki/Second_Opium_War" id="mwog" rel="mw:WikiLink" title="Second Opium War">Second Opium War</a> finally ends at the <a href="https://en.wikipedia.org/wiki/Convention_of_Peking" id="mwow" rel="mw:WikiLink" title="Convention of Peking">Convention of Peking</a> with the ratification of the <a href="https://en.wikipedia.org/wiki/Treaty_of_Tientsin" id="mwpA" rel="mw:WikiLink" title="Treaty of Tientsin">Treaty of Tientsin</a>, an <a href="https://en.wikipedia.org/wiki/Unequal_treaty" id="mwpQ" rel="mw:WikiLink" title="Unequal treaty">unequal treaty</a>.