The Greek Magical Papyri are a large collection of individual ritual texts — spells, hymns, formulas and instructions — dating from roughly the 2nd century BCE to the 5th century CE, with the greatest concentration composed during the 2nd to 4th centuries CE. Most surviving examples were recovered from Egypt, many from the same Theban cache associated with the Anastasi collection covered on the Leiden Papyrus page in this collection.
The modern scholarly framework for the corpus was established by the German classicist Karl Preisendanz, whose systematic edition Papyri Graecae Magicae: Die griechischen Zauberpapyri (1928–1931) catalogued and numbered the individual texts (PGM I, PGM IV, and so on) — the reference system scholars still use today.