“In Provence, Aramaic texts appeared that could in fact have arrived there, at least in part, directly from the Orient in the twelfth century, even if they did not necessarily reach the circle of Rabad and his family. It seems, however, that in some of the earliest circles of kabbalists further variations were composed in an obviously artificial Aramaic on these same themes of the demonological hierarchies.
Remnants of these compositions still exist, for example, the pseudo-gaonic responsum on the conjuration of the prince of the demons, which incidentally also speaks of the revelation of the prophet Elijah during the night of the Day of Atonement. Already the earliest stratum of these texts distinguished between an old and a young Lilith and is familiar with strange names for the demonic rulers of the three realms of the ether and for their spouses, the Jewish names being combined with those of an obviously foreign provenance.
“The old Lilith is the wife of Sammael; both of them were born at the same hour in the image of Adam and Eve, and they embrace one another. Ashmedai, the great king of the demons, took as his wife the young Lilith, daughter of the king; his name is Qafsafuni and the name of his wife is Mehetabel, daughter of Hatred [from Gen. 36:39], and her daughter Lilitha.”
The fact that the spouse of the last king of Edom (in the list given in Genesis 36) figures as a demon suggests a reinterpretation of the list of these kings that turned them into the archons of darkness. Sammael too appears in these sources as the ruler of Edom—a Jewish code word, since the early Middle Ages, for Christianity, which was regarded as originating from the realm of darkness.”
Gershom Scholem, Origins of the Kabbalah, pp. 295-6.