Ruling during one of the darkest periods of the Anglo-Saxon age, Alfred successfully defended the Kingdom of Wessex against repeated Viking invasions, ensuring that Anglo-Saxon England survived. His decisive victory overGuthrum at theBattle of Edington led to the Treaty of Wedmore, securing peace and establishing the boundaries between Wessex and the Danelaw.