Question: The War of the Priests, was a conflict in the Polish province between Nicolaus Von Tüngen and what Grand Duke of Lithuania from 1440 and King of Poland from 1447, until his death?

full_context: Document 1: Peace of Thorn (1411): The (First) Peace of Thorn was a peace treaty formally ending the Polish–Lithuanian–Teutonic War between allied Kingdom of Poland and Grand Duchy of Lithuania on one side, and the Teutonic Knights on the other. It was signed on 1 February 1411 in Thorn (Toruń), one of the southernmost cities of the Monastic State of the Teutonic Knights. In historiography, the treaty is often portrayed as a diplomatic failure of Poland–Lithuania as they failed to capitalize on the decisive defeat of the Knights in the Battle of Grunwald in June 1410. The Knights returned Dobrzyń Land which they captured from Poland during the war and made only temporary territorial concessions in Samogitia, which returned to Lithuania only for the lifetimes of Polish King Władysław Jagiełło and Lithuanian Grand Duke Vytautas. The Peace of Thorn was not stable. It took two other brief wars, the Hunger War in 1414 and Gollub War in 1422, to sign the Treaty of Melno that solved the territorial disputes. However, large war reparations were a significant financial burden on the Knights, causing internal unrest and economic decline. The Teutonic Knights never recovered their former might.
Document 2: Ktož jsú boží bojovníci: The song was sung with such intensity during the Hussite Wars, that it instilled fear throughout the enemy army, making it a weapon in itself. One of the Imperial Crusades is believed to have fled the battlefield before the battle itself, just by hearing the Hussites singing proudly their hymn. The hymn would be led by a Hussite priest, who would be carrying a ceremonial axe. At the start of the 1433 war between the Polish and the Teutonic Knights of Prussia, the Hussites signed an alliance against the Germans in July 1433. In the course of the war, they marched all the way to the Baltic sea at the town of Danzig. The Prussian 19th-century historian, Heinrich von Treitschke, makes a clearly indignant reference to the Hussite taking of land near the Baltic Sea and to "Kdož jsou Boží bojovníci" with these words: "greeted the sea with a wild Czech song about God's warriors and filled their water bottles with brine in token that the Baltic once more obeyed the Slavs."
Document 3: Casimir IV Jagiellon: Casimir IV KG (Polish: "Kazimierz IV Andrzej Jagiellończyk" ; Lithuanian: "Kazimieras Jogailaitis" ; 30 November 1427 – 7 June 1492 ) of the Jagiellonian dynasty was Grand Duke of Lithuania from 1440 and King of Poland from 1447, until his death. He was one of the most active Polish rulers, under whom Poland, by defeating the Teutonic Knights in the Thirteen Years' War recovered Pomerania, and the Jagiellonian dynasty became one of the leading royal houses in Europe. He was a strong opponent of aristocracy, and helped to strengthen the importance of Parliament and the Senate.
Document 4: Battle of Grunwald: The Battle of Grunwald, First Battle of Tannenberg or Battle of Žalgiris, was fought on 15 July 1410 during the Polish–Lithuanian–Teutonic War. The alliance of the Kingdom of Poland and the Grand Duchy of Lithuania, led respectively by King Władysław II Jagiełło (Jogaila) and Grand Duke Vytautas, decisively defeated the German–Prussian Teutonic Knights, led by Grand Master Ulrich von Jungingen. Most of the Teutonic Knights' leadership were killed or taken prisoner. Although defeated, the Teutonic Knights withstood the siege of their fortress in Marienburg (Malbork) and suffered minimal territorial losses at the Peace of Thorn (1411) (Toruń), with other territorial disputes continuing until the Peace of Melno in 1422. The knights, however, would never recover their former power, and the financial burden of war reparations caused internal conflicts and an economic downturn in the lands under their control. The battle shifted the balance of power in Central and Eastern Europe and marked the rise of the Polish–Lithuanian union as the dominant political and military force in the region.
Document 5: Polish–Teutonic War (1519–21): The Polish–Teutonic War of 1519–1521 (German: "Reiterkrieg" , "horsemen's war", Polish: "Wojna pruska" , "Prussian War") was fought between the Kingdom of Poland and the Teutonic Knights, ending with an armistice in April 1521. Four years later, under the Treaty of Kraków, part of the Catholic Monastic state of the Teutonic Knights became secularized as the Duchy of Prussia. The reigning Grand Master Albert of Hohenzollern-Brandenburg-Ansbach became the first Duke of Prussia by paying the Prussian Homage as vassal to his uncle, Polish king Sigismund I the Old.
Document 6: Elizabeth of Austria (1436–1505): Elizabeth of Austria (German: "Elisabeth" , Polish: "Elżbieta Rakuszanka" ; Lithuanian: "Elžbieta Habsburgaitė" ; c. 1436 – 30 August 1505) was the wife of King Casimir IV of Poland and thus Queen of Poland and Grand Duchess of Lithuania. Orphaned at an early age, she spent her childhood in the court of Holy Roman Emperor Frederick III. As one of the three surviving grandchildren of Emperor Sigismund, she had a strong claim to the kingdoms of Hungary and Bohemia. That made her an attractive bride for a Polish prince. The Polish nobility, seeking to increase Polish influence in Hungary and Bohemia, pursued marriage with Elizabeth since she was born and finally succeeded in 1454. Her marriage to Casimir was one of the most exemplary royal marriages in Poland. She gave birth to thirteen children, eleven of whom survived to adulthood. Four of her sons were crowned as kings.
Document 7: War of the Priests (Poland): The War of the Priests (1467-1479, German: "Pfaffenkrieg" , Polish: "wojna popia, wojna księża" ) was a conflict in the Polish province of Warmia between the King of Poland Casimir IV and Nicolaus von Tüngen, the new bishop of Warmia chosen – without the king's approval – by the Warmian chapter. The latter was supported by the Teutonic Knights, by this point vassals of Poland, who were seeking a revision of the recently signed Second Peace of Toruń.
Document 8: Władysław IV Vasa: Władysław IV Vasa (Polish: "Władysław IV Waza" ; Russian: Владислав IV Ваза , "Vladislav IV Vaza" ; Latin: "Vladislaus IV Vasa" or "Ladislaus IV Vasa"; Lithuanian: "Vladislovas Vaza" ; 9 June 1595 – 20 May 1648) was a Polish prince from the Royal House of Vasa. He reigned as King of Poland and Grand Duke of Lithuania from 8 November 1632 to his death in 1648.
Document 9: John II Casimir Vasa: John II Casimir (Polish: "Jan II Kazimierz Waza" ; German: "Johann II. Kasimir Wasa" ; Lithuanian: "Jonas Kazimieras Vaza" ; 22 March 1609 – 16 December 1672) was King of Poland and Grand Duke of Lithuania during the era of the Polish–Lithuanian Commonwealth, Duke of Opole in Upper Silesia, and titular King of Sweden 1648–1660. In Poland, he is known and commonly referred as Jan Kazimierz. His parents were Sigismund III Vasa (1566–1632) and Constance of Austria (1588–1631). His older brother, and predecessor on the throne, was Władysław IV Vasa.
Document 10: War of the Polish Succession (1587–88): The War of the Polish Succession or the Habsburg-Polish War took place from 1587 to 1588 over the election of monarch after the death of King of Poland and Grand Duke of Lithuania Stephen Báthory. The war was fought between factions of Sigismund III Vasa and Maximilian III, with Sigismund eventually being crowned King of Poland and Grand Duke of Lithuania. Two major battles of this conflict included the Siege of Kraków, in which Maximilian III failed to capture the capital of the Commonwealth, and the Battle of Byczyna, in which Maximilian was forced to surrender. Sigismund's victory was significantly the doing of Chancellor and Hetman Jan Zamoyski, who stood behind both the political intrigue and the military victories of this conflict.
Document 11: Saint Casimir: Saint Casimir Jagiellon (Polish: "Kazimierz" , Lithuanian: "Kazimieras" ; October 3, 1458 – March 4, 1484) was a prince of the Kingdom of Poland and of the Grand Duchy of Lithuania. Second oldest son of King Casimir IV, he was tutored by Johannes Longinus, a Polish chronicler and diplomat. After his elder brother Vladislaus was elected as King of Bohemia in 1471, Casimir became the heir apparent. At the age of 13, Casimir participated in the failed military campaign to install him as King of Hungary. He became known for his piousness, devotion to God, and generosity towards the sick and poor. He became ill (most likely with tuberculosis) and died at the age of 25. He was buried in Vilnius Cathedral and his cult grew. His canonization was initiated by his brother King Sigismund I the Old in 1514 and the tradition holds that he was canonized in 1521.
Document 12: Jagiellonian dynasty: The Jagiellonian dynasty was a royal dynasty, founded by Jogaila, the Grand Duke of Lithuania, who in 1386 was baptized as Władysław, married Queen regnant (also styled "King") Jadwiga of Poland, and was crowned King of Poland as Władysław II Jagiełło. The dynasty reigned in several Central European countries between the 14th and 16th centuries. Members of the dynasty were Kings of Poland (1386–1572), Grand Dukes of Lithuania (1377–1392 and 1440–1572), Kings of Hungary (1440–1444 and 1490–1526), and Kings of Bohemia (1471–1526).
Document 13: Prussian Crusade: The Prussian Crusade was a series of 13th-century campaigns of Roman Catholic crusaders, primarily led by the Teutonic Knights, to Christianize the pagan Old Prussians. Invited after earlier unsuccessful expeditions against the Prussians by Polish princes, the Teutonic Knights began campaigning against the Balts in 1230. By the end of the century, having quelled several Prussian Uprisings, the Knights had established control over Prussia and administered the Prussians through their monastic state.
Document 14: Sigismund Casimir: Sigismund Casimir, Crown Prince of Poland (Polish: "Zygmunt Kazimierz Waza" ), (1 April 1640 – 9 August 1647) - was the only legitimate son of King Władysław IV and his first wife Queen Cecilia Renata. He was named after his grandfather Sigismund III, and uncle John Casimir.
Document 15: Treaty of Königsberg (1390): The Treaty of Königsberg was signed in Königsberg(Królewiec) on May 26, 1390 during the Lithuanian Civil War (1389–1392) between Samogitian nobles and representatives of the Teutonic Knights. The 31-member or 30-member delegation from seven Samogitian regions (Ariogala, Kaltinėnai, Knituva, Kražiai, Medingėnai, Raseiniai, and Viduklė) arrived to Königsberg around the pentecost. They promised their loyalty to "their king" Vytautas and guaranteed trade freedom for the Knights in Samogitia. The Knights gifted the nobles with food and clothes.
ground_truth: Casimir IV