Apocalypse of Adam
The Apocalypse of Adam, discovered at Nag Hammadi in Upper Egypt in 1945, is a Sethian tractate of Apocalyptic literature dating to the first-to-second centuries AD. This tractate is one of five contained within Codex V of the Nag Hammadi library.
Adam in his 700th year tells Seth how he learned a word of knowledge of the eternal God from Eve and that he and Eve were indeed more powerful than their supposed creator. But that knowledge was lost in the fall when the subcreator - the demiurge - separated Adam and Eve. Adam relates how three mysterious strangers brought about Seth's begetting and so a preservation of this knowledge. Adam then prophesizes at length attempts of the subcreator god to destroy mankind, including the prophecy of the great Deluge and of attempted destruction by fire but an Illuminator will come in the end. When the Illuminator comes, thirteen kingdoms proclaim thirteen different standard but conflicting birth legends about the Illuminator; only the "generation without a king," however, proclaims the truth.