How a king in exile saved a nation from Viking conquest
In 878, the Anglo-Saxon kingdom of Wessex was on the verge of total collapse. Driven into the Somerset marshes by a surprise ambush, King Alfred had to transform from a fugitive into a commander capable of defeating the Great Heatrag Army.
By the late 9th century, the nature of Viking incursions in Britain had shifted from coastal raiding to full-scale conquest. While Scandinavian raiders had been active for over fifty years, the arrival of a massive Danish force in East Anglia in 865 signaled a new era of organized invasion. Following the fall of Northumbria, Mercia, and East Anglia, the West Saxon kingdom of Wessex remained the final holdout against the advancing Great Heathen Army.
The pressure on Wessex became critical in 877 when Vikings occupied Exeter. In January 878, the Viking leader Guthrum launched a devastating surprise attack on King Alfred’s winter fortress at Chippenham. The young king, who had ascended to the throne in 871 following the death of his brother, Aethelred I, was forced into hiding. He retreated to the Somerset marshes at Athelney, where he established a base for guerrilla warfare to regroup his scattered forces.
The conflict reached its climax between May 6 and May 12, 878, at the Battle of Edington. Alfred’s infantry utilized a dense shield wall to confront the Danes. The victory was decisive; according to the biographer Asser, Alfred pursued the fleeing pagans as far as their fortress. The aftermath saw the Treaty of Wedmore, which divided England between the Saxon south and west and the Viking Danelaw in the north and east. In a significant diplomatic turn, Guthrum converted to Christianity and became Alfred's godson, eventually ruling Mercia.
Source: The Battle That Saved England - Saxons vs Vikings - Edington 878