The Gospel of Mary is found in the Berlin Gnostic Codex This very and well-preserved codex was apparently discovered in the late-nineteenth century somewhere near Akhmim in upper Egypt.