In 1440 the town joined the Prussian Confederation, opposing Teutonic Order's rule.[4][7] In 1457, during the Thirteen Years’ War, Bohemian mercenaries on the Order's service sold Tczew to Poland in lieu of indemnities.[8] The Second Peace of Thorn (1466) confirmed the reincorporation of Tczew to Poland.