Swedish forces then attacked the Danish flank and rear. Demoralized, they were routed and put to flight in all directions. The Swedes succeeded in capturing almost the entire Danish infantry. After four hours of battle, the Swedish victory was assured. The next day, the Swedes occupied Bergen, pursued their fleeing enemy towards Jasmund and Wittow and captured there the last remnants of the allies. The captured soldiers were integrated into the Swedish army and used on Rügen. So Rügen became Swedish again for a short while. However, the Danish and Brandenburg allies quickly recovered from this setback. In the course of the summer 1678 the Danes raided Rügen several times. In addition, the Danes and Brandenburgians were planning a new expedition to recapture Rügen. The invasion of Rügen began on 23 September 1678, when Brandenburg troops again landed on the island of Rügen; within two days they had recaptured it. The prisoners pressed into Swedish service from the Battle of Warksow handed over the fort of Neuefähr without a fight to Brandenburg's invasion forces.