Complex sentence: Alfred was immediately confronted with the task of defending Wessex against the Danes, he spent the first five years of his reign paying the invaders off.
Split into simpler sentences: Alfred was immediately confronted with the task of defending Wessex against the Danes. He spent the first five years of his reign paying the invaders off.