Egbert or Ecgberht was King of Wessex from 802 until his death , in 839. Supposed son of King Ealhmund of Kent, he was forced into exile in the 780s by Kings Offa of Mercia and Beorhtric of Wessex. After taking refuge in the court of Charlemagne, he seizes the throne of Wessex on the death of Beorh