Ecgberht (771/775 – 839), also spelled Egbert, Ecgbert, or Ecgbriht, Ecgbeorht, was King of Wessex from 802 until his death in 839. His father was Ealhmund of Kent. In the 780s Ecgberht was forced into exile to Charlemagne's court in the Frankish Empire by Offa of Mercia and Beorhtric of Wessex, but on Beorhtric's death in 802 Ecgberht returned and took the throne.