After the death of Charles IX of Sweden, Sweden was ruled by his teenage son, Gustavus Adolphus. The young monarch was supported by influential Chancellor Axel Oxenstierna, who in April 1612 agreed to prolong the truce with the Commonwealth until September 1616. At the same time, Polish king Sigismund III Vasa did not renounce the Swedish crown (see Polish–Swedish union), and plotted against Gustavus Adolphus, trying to win over Swedish nobility. Sigismund even considered another campaign in Sweden, but failed to do so, due to the ongoing war with Russia.
After lengthy negotiations, on 27 February 1617 Sweden and Russia signed the Treaty of Stolbovo, ending the Ingrian War. Gustavus Adolphus was now able to concentrate his efforts in Livonia. He was supported by other Protestant states, England and Holland.
On 19 June 1617, four months after the Treaty of Stolbovo, a Swedish naval squadron of four ships entered the Gulf of Riga and anchored at Dyjament/Dunamunde. The fortress was defended by weak Polish–Lithuanian forces under the starosta of Rūjiena, Wolmar Farensbach, who capitulated after a two-day siege and joined the invaders. The Swedish fleet blocked Riga, and in July, when reinforcements came, Swedes occupied almost the whole Livonian coast, from Grobiņa to Pärnu. The city of Parnu itself was attacked on 11 August and surrendered after a three-day siege. Salacgrīva was captured on 18 August, and by late summer the Swedish Empire controlled all of Livonia except for Riga.
To save the province, the Commonwealth sent to Livonia forces under Field Hetman of Lithuania, Krzysztof Radziwiłł. He managed to convince Wolmar Farensbach to return to the Polish–Lithuanian side. Radziwiłł's forces were inadequate, but thanks to his skills as a commander, the Lithuanians managed to recapture almost all towns and strongholds, except for Pärnu. The Lithuanian army then entered the Duchy of Courland and Semigallia, and Radziwiłł demanded its annexation into the Grand Duchy of Lithuania. Sigismund disagreed, which resulted in Radziwiłł resigning from his post; Colonel Jan Sicinski was later appointed in Radziwiłł's place.
In September 1618, a truce between the Commonwealth and Sweden was signed. The Polish–Lithuanian side demanded the return of Pärnu,[1] but since the war between the Commonwealth and Muscovy continued, Sigismund argued successfully that the city would temporarily remain in Swedish hands. The truce was valid for two years, expiring in November 1620.