The Torstenson war, Hannibal controversy or Hannibal War () was a short period of conflict between Sweden and Denmark–Norway from 1643 to 1645 towards the end of the Thirty Years' War. The names refer to Swedish general Lennart Torstenson and Norwegian governor-general Hannibal Sehested. Denmark had withdrawn from the Thirty Years' War in the Treaty of Lübeck (1629). After its victories in the war, Sweden felt it had to attack Denmark-Norway due to its advantageous geographical position in relation to Sweden. Sweden invaded in a short two-year war. In the Second Treaty of Brömsebro (1645), which concluded the war, Denmark-Norway had to make huge territorial concessions and exempt Sweden from the Sound Dues, de facto acknowledging the end of the Danish dominium maris baltici. Danish efforts to reverse this result in the Second Northern, Scanian and Great Northern wars failed. Background Sweden had been highly successful in the Thirty Years' War, having defeated Imperial armies in Germany and seen substantial victories under Gustavus Adolphus and after his death, under the leadership of Count Axel Oxenstierna, Lord High Chancellor of Sweden. At the same time, Sweden was continually threatened by Denmark–Norway, which almost completely encircled Sweden from the south (Blekinge, Scania and Halland), the west (Bohuslän) and the north-west (Jämtland). The Danish Sound Dues were also a continuing source of irritation and a contributing factor to the war. In the spring of 1643 the Swedish Privy Council determined that their military strength made territorial gains at the expense of Denmark-Norway likely. The Count drew up the plan for war and directed a surprise multi-front attack on Denmark in May. Prelude Swedish Field Marshal Lennart Torstensson was ordered to march against Denmark. Proceeding from Moravia, his forces entered Danish territory in Holstein on 12 December and by the end of January 1644 the Jutland peninsula was in his possession. In February 1644, the Swedish General Gustav Horn with an army of 11,000 men occupied much of the Danish provinces of Halland and Scania, except for the fortress town of Malmø. War Denmark This attack caught Denmark-Norway unaware and poorly prepared but King Christian IV retained his presence of mind. He placed his confidence in the fleet to protect the home islands, just winning the Battle of Colberger Heide on 1 July 1644 but suffering a decisive defeat in the Battle of Fehmarn on 13 October 1644 against a Dutch–Swedish fleet. He also