In Gnostic mythology, Sabaoth is a redeemed archon (son of the Demiurge, Yaldabaoth) who repents of his father's arrogance and is elevated by Sophia to rule from a glorious throne in the seventh heaven. This account comes primarily from the Nag Hammadi texts The Hypostasis of the Archons and On the Origin of the World.