 Frederick III of Denmark saw an opportunity to recover the territories lost in 1645 and attacked Sweden.The outbreak of war with Denmark provided Charles with an excuse to withdraw from the Polish campaign and move against Denmark.Sweden had won its most prestigious victory, and Denmark-Norway had suffered its most costly defeat.