Magi (ˈmeɪdʒaɪ; singular magus ˈmeɪgəs; from Latin magus, cf. مغ moɣ) are priests in Zoroastrianism and the earlier religions of the western Iranians. The earliest known use of the word magi is in the trilingual inscription written by Darius the Great, known as the Behistun Inscription. Old Persian texts, predating the Hellenistic period, refer to a magus as a Zurvanic, and presumably Zoroastrian, priest.
Pervasive throughout the Eastern Mediterranean and Western Asia until late antiquity and beyond, mágos (μάγος) was influenced by (and eventually displaced) Greek goēs (γόης), the older word for a practitioner of magic, to include astronomy/astrology, alchemy, and other forms of esoteric knowledge. This association was in turn the product of the Hellenistic fascination for Pseudo-Zoroaster, who was perceived by the Greeks to be the Chaldean founder of the Magi and inventor of both astrology and magic, a meaning that still survives in the modern-day words "magic" and "magician".
In the Gospel of Matthew, "μάγοι" (magoi) from the east do homage to Jesus, a child and the transliterated plural "magi" entered English from Latin in this context around 1200 (this particular use is also commonly rendered in English as "kings" and more often in recent times as "wise men"). The singular "magus" appears considerably later, when it was borrowed from Old French in the late 14th century with the meaning magician.
Hereditary Zoroastrian priesthood has survived in India and Iran. They are termed Herbad, Mobad (Magupat, i.e. chief of the Maga), and Dastur depending on the rank.
The term only appears twice in Iranian texts from before the 5th century BC, and only one of these can be dated with precision. This one instance occurs in the trilingual Behistun inscription of Darius the Great, and which can be dated to about 520 BC. In this trilingual text, certain rebels have magian as an attribute; in the Old Persian portion as maγu- (generally assumed to be a loan word from Median). The meaning of the term in this context is uncertain.