Pistis Sophia (Koinē Greek: Πίστις Σοφία) is a Gnostic text discovered in 1773, possibly written between the 3rd and 4th centuries AD. The existing manuscript, which some scholars place in the late 4th century, relates one Gnostic group's teachings of the transfigured Jesus to the assembled disciples, including his mother Mary, Mary Magdalene, and Martha. (In this context, "transfigured" refers to Jesus after his death and resurrection, not the event during his life where he spoke to appearances of Moses and Elijah on a mountain.) In this text, the risen Jesus had spent eleven years speaking with his disciples, teaching them only the lower mysteries. After eleven years, he receives his true garment and is able to reveal the higher mysteries revered by this group. The prized mysteries relate to complex cosmologies and knowledge necessary for the soul to reach the highest divine realms.
Much of the first two books of the manuscript are dedicated to outlining the myth of the fall and restoration of the figure known as Pistis Sophia, in particular giving detailed parallels between her prayers of repentance and particular Psalms and Odes of Solomon.
Although in many Gnostic texts and systems Sophia is a major female divinity, in Pistis Sophia she originates and dwells outside of the divine realm. Her fall and redemption parallel that found in versions of the Sophia myth such as that in the Apocryphon of John, but the actions all take place in the material aeons, and she can only be restored to her place in the thirteenth aeon, outside the Kingdom of Light.