After the southern campaign, the Commonwealth had to deal with a threat from the north, as the armistice, ending the Polish–Swedish War (1600–1629) was expiring. The majority of Polish nobles preferred to solve the problem through negotiations, unwilling to pay taxes for a new war, provided that Sweden was open to negotiations and concessions (in particular, to retreat from the occupied Polish coastal territories). Władysław himself was hoping for a war, which could yield some more significant territorial gains, and even managed to gather a sizeable army, with navy elements, near the disputed territories. Sweden, weakened by involvement in the Thirty Years' War, was however open to a peaceful solution. Władysław could not go against the decision of the Sejm and Senate, and agreed to support the treaty. Thus both sides agreed to sign the Armistice of Stuhmsdorf (Sztumska Wieś) on 12 September 1635, favourable to the Commonwealth, which regained the Prussian territories, and called for a reduction of the Swedish tolls on the maritime trade.