One of the Anglo-Saxon English king Edmund Ironside's sons, named Edward the Atheling (a descriptor inherited as surname by his son), was sent to a relative, the then Queen of the Kiev Rus, who sent him further to her in-law relative in Hungary, where Edward married. This Edward with family later returned to England, and after the Norman conquest, the family fled to Scotland, where daughter Margaret became King Malcom's wife, and later the patron saint of Scotland.
BTW considering the number of generations, almost certainly every farmer and nobleman from 1080 with descendants today was your ancestor. *Lunatic*, n. One whose delusions are out of fashion.
Well, no doubt Hungarian - Scottish intermarriage was real, but I do have doubts about the specific stories that have been woven about the Hungarian origins of my surname. It'd be lovely, but my guess is that "we" were probably just a lot of Scottish farmers. : )
Of course, as you indicate, geneology is a species of mythology, but I accept myth, in this case, to the extent that it enables me to embrace mythical farming, as opposed to mythical courtly, origins.
Only because I like the conclusion.