The Polish–Swedish War of 1626–1629 was the fourth stage in a series of conflicts between Sweden and Poland fought in the 17th century. It began in 1626 and ended four years later with the Truce of Altmark and later at Stuhmsdorf with the Treaty of Stuhmsdorf.