State of the Teutonic Order
During the Thirteen Years' War between the Prussian Confederation, allied with the Polish Crown, and the State of the Teutonic Order (1454–66), the town sided with Poland and the Confederation. The Teutonic castle was destroyed at the beginning of the war and was not rebuilt afterward. However, the residents of Bartenstein became reconciled with the Teutonic Knights in 1460. After the peace treaty signed in Toruń (German: "Thorn") in 1466, the town came under Polish suzerainty as a fief, remaining part of the State of the Teutonic Order. To stabilize the Order's financial situation, the Order sold the ruined castle's farmyard and meadows to Wend von Eulenburg in 1469; the entire manor of Bartenstein was sold in 1513 to "Heinrich Reuß von Plauen" (not "the" Grand Master).