Elegast exposes and kills Eggeric, then marries his wife, in the lengthy narrative poem Karel ende Elegast.
Elegast duels with Eggeric and exposes him as a traitor. Eggeric is therefore killed, and his wife is given in marriage to Elegast. Karel ende Elegast was an original poem in Middle Dutch that scholars think was probably written at the end of the 12th century, otherwise in the 13th century and set in the region of Charlemagne's castle in Ingelheim. The original Dutch poem uses the name Elegast, while translated versions of the poem commonly use the name Elbegast in German and English, or Alegast in the Scandinavian ballad. 
