[1] It ended with the signing the Treaty of Melno, which resolved territorial disputes between the Knights and Lithuania over Samogitia that had dragged on since 1398.
Since Poles and Lithuanians were unable to capture strongly fortified Ordensburgen of the Knights, parties agreed to mediate their dispute in the Council of Constance.
A new, but futile, round of negotiations started in May 1419 in Gniewków with papal legate Bartholomew Capri, archbishop of Milan, as mediator.
Jogaila unsuccessfully appealed to Pope Martin V.[3] In July 1422, Emperor Sigismund and the Teutonic Knights devoted resources to a war against the Hussites, who attacked and devastated large parts of Germany.
His successor Paul von Rusdorf released most of the hired mercenaries; the Order was left with very few soldiers to defend itself.
[5] Jogaila decided to end the war quickly before the overwhelmed Prussian troops of the Order could receive reinforcements from the Holy Roman Empire that Paul von Rusdorf had requested.