thumb|Second Peace of Toruń, 19th-century painting by Marian Jaroczyński The resulting Thirteen Years' War ended in the defeat of the Teutonic Order and the 1466 Second Peace of Thorn. The Order renounced any claims to the territories of Gdańsk/Eastern Pomerania and Chełmno Land, which were reintegrated with Poland, and the region of Elbląg and Malbork, and Warmia, which were also recognized as part of Poland. These regions formed the new Polish province of Royal Prussia, with some local rights of autonomy. Stibor of Poniec of the Clan of Ostoja become Lord of tregality of Malbork. Much of the eastern territories, in historic Prussia, remained with the Teutonic Order, although as a fief and protectorate of Poland, also considered an integral part of "one and indivisible" Kingdom of Poland. The Prussian Confederation, with its members now practically divided, ceased to exist as such.
thumb|Second Peace of Toruń, 19th-century painting by Marian Jaroczyński The resulting Thirteen Years' War ended in the defeat of the Teutonic Order and the 1466 Second Peace of Thorn. The Order renounced any claims to the territories of Gdańsk/Eastern Pomerania and Chełmno Land, which were reintegrated with Poland, and the region of Elbląg and Malbork and Warmia, which were also recognized as part of Poland. These regions formed the new Polish province of Royal Prussia, with some local rights of autonomy. Stibor of Poniec of the Clan of Ostoja become Lord of tregality of Malbork Much of the eastern territories, in historic Prussia, remained ,with the Teutonic Order, although as a fief and protectorate of Poland, also considered an integral part of "one and indivisible" Kingdom of Poland. The Prussian Confederation, with its members no,w practically divided ceased to exist. as such.