In 1422, Władysław fought another war, known as the Gollub War, against the Teutonic Order, defeating them in under two months before the Order's imperial reinforcements had time to arrive. The resulting Treaty of Melno ended the Knights' claims to Samogitia once and for all and defined a permanent border between Prussia and Lithuania. Lithuania was given the province of Samogitia, with the port of Palanga, but the city of Klaipėda was left to the Order. This border remained largely unchanged for roughly 500 years, until 1920. The terms of this treaty have, however, been seen as turning a Polish victory into defeat, as a result of Władysław's renunciation of Polish claims to Pomerania, Pomerelia, and Chełmno Land, for which he received only the town of Nieszawa in return. The Treaty of Melno closed a chapter in the Knights' wars with Lithuania but did little to settle their long-term issues with Poland. Further sporadic warfare broke out between Poland and the Knights between 1431 and 1435.