A steady advance was made in the creation of parishes, and monasticism flourished and received support from Offa. A great event in ecclesiastical history was the arrival of a papal legation in 787, the first since the conversion. It drew up reforming statutes, which were accepted by the two ecclesiastical provinces, meeting separately under the presidency of Offa and Aelfwald of Northumbria. Offa used the visit to secure the consecration of his son—the first recorded coronation ceremony in England—and also to have Mercia made into a metropolitan province with its see at Lichfield. The latter seemed desirable partly because he disliked the Kentish archbishop of Canterbury, Jaenberht, but also because it would seem fitting to him that the leading kingdom should be free from external interference in ecclesiastical affairs. This move was unpopular with the church, and in 802, when relations with Canterbury had improved, the archbishopric of Lichfield was abolished.
The decline of Mercia and the rise of Wessex
Offa died in 796, and his son died a few weeks later. Cenwulf, their successor, suppressed revolts in Kent and East Anglia, but he never attained Offa’s position. Cenwulf allowed Charles to intervene in Northumbria in 808 and restore Eardwulf (who had been driven from his kingdom) to the throne—a unique incident in Anglo-Saxon history. Mercian influence in Wessex was ended when Egbert became king there in 802, though there is no recorded warfare between the kingdoms for many years, during which Egbert conquered Cornwall and Cenwulf fought in Wales. But in 825 Egbert defeated Beornwulf of Mercia and then sent an army into Kent, with the result that he was accepted as king of Kent, Surrey, Sussex, and Essex. In that same year the East Angles threw off the Mercian yoke, killing Beornwulf. In 829 Egbert became ruler of Mercia and all regions south of the Humber, which caused the chronicler to add his name to Bede’s list of kings who held the imperium, calling him bretwalda. The Northumbrians accepted Egbert without fighting. Yet he held this proud position only one year; then Wiglaf recovered the Mercian throne and ruled without subjection to Egbert.
By this time Danish Viking raids were a grave menace, and Aethelwulf, who succeeded his father Egbert in 839, had the wisdom to see that Mercia and Wessex must combine against the Vikings. Friendly relations between them were established by marriage alliances and by a peaceful settlement of boundaries; this paved the way for the acceptance in 886 of Alfred, king of Wessex, as lord of all the English who had not fallen under Danish rule.
The period of the Scandinavian invasions
Viking invasions and settlements
Small scattered Viking raids began in the last years of the 8th century; in the 9th century large-scale plundering incursions were made in Britain and in the Frankish empire as well. Though Egbert defeated a large Viking force in 838 that had combined with the Britons of Cornwall and Aethelwulf won a great victory in 851 over a Viking army that had stormed Canterbury and London and put the Mercian king to flight, it was difficult to deal with an enemy that could attack anywhere on a long and undefended coastline. Destructive raids are recorded for Northumbria, East Anglia, Kent, and Wessex.
A large Danish army came to East Anglia in the autumn of 865, apparently intent on conquest. By 871, when it first attacked Wessex, it had already captured York, been bought off by Mercia, and had taken possession of East Anglia. Many battles were fought in Wessex, including one that led to a Danish defeat at Ashdown in 871. Alfred the Great, a son of Aethelwulf, succeeded to the throne in the course of the year and made peace; this gave him a respite until 876. Meanwhile the Danes drove out Burgred of Mercia, putting a puppet king in his place, and one of their divisions made a permanent settlement in Northumbria.
Alfred was able to force the Danes to leave Wessex in 877, and they settled northeastern Mercia; but a Viking attack in the winter of 878 came near to conquering Wessex. That it did not succeed is to be attributed to Alfred’s tenacity. He retired to the Somerset marshes, and in the spring he secretly assembled an army that routed the Danes at Edington. Their king, Guthrum, accepted Christianity and took his forces to East Anglia, where they settled.