The Truce of Altmark ended the Polish–Swedish War (1626–1629) in September 1629, releasing the military capacities needed for an invasion of the Holy Roman Empire. Plans of Gustavus Adolphus of Sweden for such an intervention were approved of by a Riksdag commission already in the winter of 1627/28, approval by the Riksråd followed in January 1629.