King Edmund managed to ambush a scouting section of Olafr's army, and after a short battle the Vikings were routed. Upon hearing of this defeat and the deaths of Edward and his brother Alfred at the hands of Edmund, Olafr decided to leave England and returned to Scandinavia.