The <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Thirteen_Years'_War_(1454–66)" id="mwJQ" rel="mw:WikiLink" title="Thirteen Years' War (1454–66)">Thirteen Years' War</a> between Poland and the Teutonic Order ends with the <a href="https://en.wikipedia.org/wiki/Second_Peace_of_Thorn_(1466)" id="mwJg" rel="mw:WikiLink" title="Second Peace of Thorn (1466)">Second Treaty of Thorn</a>.