Johann Gottfried von Herder introduced this character into German literature in "Erlkönigs Tochter", a ballad published in his 1778 volume Stimmen der Völker in Liedern.
The story portrays Sir Oluf riding to his marriage but being entranced by the music of the elves.