commanders until 1608. Chodkiewicz, who was one of the magnates who remained loyal to the king, had to divide his attention between the rebellion against Sigismund in the Commonwealth (the Zebrzydowski Rebellion, 1606–1609) and a fresh invasion of Livonia by the Swedes led by Mansfeld in 1608. Mansfeld captured Daugavgriva, Viljandi, and Koknese, but when Chodkiewicz returned, the tide turned. In 1609 Chodkiwicz once more relieved Riga besides capturing Pärnu. Chodkiewicz also defeated the Swedish flotilla at Salis and finally defeated Mansfeld's army once again near the river Gauja. Eventually, a truce was signed in 1611 after the death of Charles IX. It would last until 1617 (or November 1620, conflicting sources). During the next decade, the Commonwealth was occupied by its war against Russia. Southern borders were also endangered by the constant troubles with the Ottoman Empire in the Magnate Wars. See also Polish-Swedish wars References External links Swedish-Polish War, 1600–1609 17th-century conflicts Wars involving the Polish–Lithuanian Commonwealth Wars involving Sweden 17th century in Estonia 17th century in Latvia Poland–Sweden relations Lithuania–Sweden relations Warfare of the Early Modern period 17th century in Sweden 1600s in the Polish–Lithuanian Commonwealth 1610s in the Polish–Lithuanian Commonwealth 1600s in Sweden 1610 in Sweden 1611 in Sweden Time of Troubles