Manichaeism (in Modern Persian Lua error in package.lua at line 80: module 'Module:Language/data/iana scripts' not found. Āyin e Māni) was one of the major Iranian Gnostic religions. Originally it came from Sassanid Persia. Most of the original writings of the founding prophet Mani (Syriac, Lua error in package.lua at line 80: module 'Module:Language/data/iana scripts' not found., c. AD 210–276) have been lost, but many translations and fragmentary texts have survived. Manichaeism was big between the third and seventh centuries. At its height it was one of the most widespread religions in the world. Manichaean churches and scriptures existed as far east as China and as far west as the Roman Empire. Manichaeism appears to have died out before the sixteenth century in southern China.
The original six sacred books of Manichaeism were written in Syriac Aramaic. They were soon translated into other languages to help spread the religion. As they spread to the east, the Manichaean writings passed through Middle Persian, Parthian, Sogdian, and ultimately Uyghur and Chinese translations. As they spread to the west, they were translated into Greek, Coptic, and Latin. The spread and success of Manichaeism were seen as a threat to other religions, and it was widely persecuted in Christian, Zoroastrian, and later, Islamic areas.