In the eighth century this leadership passed to Mercia. Finally, in the ninth century, Wessex under the guidance of Egbert (802-839) began to extend its influence until in 830 all England, including the chieftains of Wales, acknowledged Egbert's overlordship.