Nag Hammadi library
In the "Apocryphon of John", "On the Origin of the World", and "Hypostasis of the Archons", found in the Nag Hammadi library, "Samael" is one of three names of the demiurge, whose other names are "Yaldabaoth" and "Saklas".