Over two centuries of wars against the Teutonic Knights ended in 1525 with the Treaty of Kraków after the final Polish–Teutonic War (1519–1521). Previously, the Second Peace of Thorn (1466) placed the Teutonic Order under Polish suzerainty and interfered with German interests in Livonia, Pomerania, Warmia and Masuria. The Order attempted to avoid paying tribute to Polish monarchs which was a demonstration of weakness and dependence.