The area consisted of the following territories: In contrast, southern remainder of Pomesania and Pogesania, including Marienwerder (Kwidzyn), Deutsch Eylau (Iława), Riesenburg (Prabuty), Rosenberg (Susz), Bischofswerder (Biskupiec), Saalfeld (Zełwałd, later Zalewo), Freystadt (Kisielice), Mohrungen (Morąg), Preußisch Holland (Pasłęk) and Liebstadt (Libsztat, later Miłakowo), formed Upper Prussia (German: Oberland, Polish: Prusy Górne) constituting the westernmost part of the Prussian territory left to the Teutonic Knights, known as Teutonic or Monastic Prussia with Königsberg as its capital, later secularized in 1525 to become Ducal Prussia ruled by the Protestant dukes of the Hohenzollern dynasty.
The papal court in 1320 and 1333 ruled in favour of Poland[citation needed], however, the Teutonic Knights did not comply and continued to occupy the region.
[14] At the beginning of the 15th century, the lands held by the Teutonic Knights were inhabited as a whole by a mixed population; it is estimated that there were about 200 000 Germans in the state altogether, followed by 140 000 native Prussians located in the Prussia proper (east of Vistula), as well about 140 000 Poles in Pomerelia and Masuria.
[16] After being defeated at the Battle of Grunwald in 1410, the Teutonic Knights's prestige declined, most towns and castles, as well as three Prussian bishops, swore loyalty to the Polish king.
[17] Although the Order soon regained control over most of its territory, by the 1411 Peace of Thorn they were forced to pay large compensation of 100,000 kop groszy for the return of prisoners,[18] which became a financial burden on the citizenry.
Facing the opposition the komtur of Danzig ordered to execute the city's mayor Konrad Letzkau along with two councillors and five Chełmno nobles without a trial.
[19] In 1440, as the tax burden rose, the nobles and various cities established the Prussian Confederation at Marienwerder (Kwidzyn) in resistance of the Order's domestic and financial policies.
After the monastic knights complained to the Emperor and Council of Basel, the Prussian parliament had to dissolve itself in 1449, but immediately resumed its clandestine activities.
Thirteen years of attrition warfare ended in October 1466 with the Second Peace of Thorn (1466), which provided for the Order's cession to the Polish Crown of its rights over Pomerelia, and the western half of Prussia, including the districts of Elbląg and Malbork (Marienburg).
Royal Prussia was divided in 1454 into four voivodeships: Pomeranian, Chełmno, Elbląg (since 1467 Malbork) and Królewiec (Königsberg), which ceased to exist after the Second Peace of Thorn.
[34] During the war the king exercised his authority over the province through the position of governor, which was first held by Jan Bażyński, and after his death in 1459 by his brother Stibor.
[36] The situation changed in 1498 when Frederick of Saxony was elected Grand Master of the Teutonic Order and started a hostile politics against Poland in an attempt to reclaim lost territories in Royal Prussia.
As a result, the newly elected bishop of Warmia, Lucas Watzenrode, and Nicholaus von Baysen began to take part in meetings of the royal council.
Ambroży Pampowski, starosta of Malbork between 1504 and 1510, also bore the title Haupt des Landes, and although he was non-Prussian, he was accepted as such by the Prussian council.
[39] Closer ties with the rest of the kingdom found support primarily among the ordinary nobility, for whom the Polish political and legal solutions were more favourable.
As a result Order's state was secularised and became a fief of the Polish crown, held by Albrecht and his direct heirs as "dukes in Prussia".
[41] The Polish king attempted to stop spread of Protestantism, but it was declared the ruling religion in Danzig, Elbing and Thorn (Gdańsk, Elbląg, Toruń) after 1526 (of course, part of the population remained Catholic in these cities).
[42] In 1522 the Prussian nobility gathered in the Landtag demanded the introduction of the Polish model of inheritance and land ownership, excluding the burghers.
[45] In 1569, as a result of the Union of Lublin, which created the Polish-Lithuanian Commonwealth, Royal Prussia was integrated fully into the Kingdom of Poland, and its parliament reduced to the status of a provincial assembly, also other separate Prussian institutions were dissolved.
[10] Before the conclusion of the Union of Lublin, the Polish chancellor openly admitted that this act breached law by violation of the privileges granted in 1454.