The defeat of Denmark reversed the historic balance of power in the Baltic. Sweden gained domination of the Baltic, unrestricted access to the North Sea and was no longer encircled by Denmark–Norway. The surprise attack assured that Denmark–Norway now looked for an opportunity to recoup their losses, while Sweden looked for opportunities to expand further, setting the stage for continued conflict on the Baltic over the next century. With Denmark-Norway out of the war, Torstenson then pursued the Imperial army under Gallas from Jutland in Denmark south to Bohemia. At the Battle of Jankau near Prague, the Swedish army defeated the Imperial army under Gallas and could occupy Bohemian lands and threaten Prague, as well as Vienna.