Answer
The Dano-Swedish War of 1657–1658 ended with the defeat of Frederick III of Denmark, resulting in the Treaty of Roskilde. The major contributing factor to this defeat was Denmark's lack of allies, as the Dutch and Brandenburg had withdrawn from the conflict. Sweden emerged victorious, gaining control over the provinces of Skåne, Halland, Blekinge, and Bohuslän.