Complex sentence: Sweyn quickly launched an invasion only to be defeated by Valdemar and killed during flight, supposedly by a group of peasants who stumbled upon him as he was fleeing the battlefield.
Split into simpler sentences: Sweyn quickly launched an invasion, only to be defeated by Valdemar. He was killed during flight, supposedly by a group of peasants who stumbled upon him as he was fleeing the battlefield.