The Polish–Teutonic War (1431–1435) was an armed conflict between the Kingdom of Poland and the Teutonic Knights. It ended with the Peace of Brześć Kujawski and is considered a victory for Poland.
The war broke out after Teutonic Grand Master Paul von Rusdorf signed the Treaty of Christmemel, creating an alliance with Švitrigaila, who was waging a civil war against his brother Polish King Jogaila (Władysław Jagiełło) for the throne of the Grand Duchy of Lithuania. Sigismund of Luxemburg made a commitment to the Teutonic Order in an effort to break the Polish–Lithuanian union.
In 1431, while the main Polish forces were involved in Lutsk in Volhynia, the Teutonic Knights invaded Poland. Finding little opposition, the Knights ravaged Dobrzyń Land, taking the town of Nieszawa, and tried to move on to the Kuyavia and Krajna regions. However, the Teutonic army was defeated on 13 September 1431 in the Battle of Dąbki, near Nakel (Nakło nad Notecią). In September a two-year truce was signed among Poland, Lithuania and the Teutonic Knights at Staryi Chortoryisk.
In June 1433 Poland allied itself with the Czech Hussites in order to stop the Teutonic Order from sending secret support to Švitrigaila via its Livonian branch. The Teutonic Knights had supported the Pope and Holy Roman Emperor Sigismund against the heretic Hussites during the Hussite Wars. Czech forces under Jan Čapek of Sány were granted safe passage through Poland for their last and largest "beautiful ride." The Polish forces were also supported by Pomeranian Duke Bogusław IX of the Duchy of Stolp (Słupsk). In addition, the Moldavians, whose ruler Iliaş had been replaced by the more pro-Polish Stephen II, had joined the Polish alliance. For four months the Hussite army, including forces led by Feodor Ostrogski, ravaged Teutonic territories in Neumark, Pomerania, and western Prussia. First they unsuccessfully besieged Konitz (Chojnice) for six weeks, then moved north to Schwetz (Świecie) and Danzig (Gdańsk). They captured several towns and castles, including Dirschau (Tczew) on the Vistula River (29 August 1433). Despite their failed siege of Danzig, the Hussites reached the Baltic Sea near Oliwa at the beginning of September and celebrated their "beautiful ride" by symbolically filing their bottles with water from the sea. Returning to the south via Starogard Gdański, the expedition occupied a castle in the frontier settlement of Nowy Jasiniec.