Mazdak (مزدک, Middle Persian: 𐭬𐭦𐭣𐭪, also Mazdak the Younger; died c. 524 or 528) was a Zoroastrian mobad (priest), Iranian reformer, prophet and religious reformer who gained influence during the reign of the Sasanian emperor Kavadh I. He claimed to be a prophet of Ahura Mazda and instituted social welfare programs. Mazdak was the chief representative of a religious and philosophical teaching called Mazdakism, which he viewed as a reformed and purified version of Zoroastrianism, although his teaching has been argued to display influences from Manichaeism, Carpocratian teachings, and Plato's Republic as well. Zoroastrianism was the dominant religion of Sassanid Persia, and Mazdak himself was a mobad or Zoroastrian priest, but most of the clergy regarded his teaching as heresy. Surviving documentation is scarce. Some further details may be inferred from the later doctrine of the Khurramites, which has been seen as a continuation of Mazdakism. Some sources claim that the original founders of this sect lived earlier than Mazdak. These were another mobad, Zaradust-e Khuragen (distinct from the founder of Zoroastrianism, Zoroaster, Middle Persian Zardusht) and/or a Zoroastrian philosopher known as Mazdak the Elder, who taught a combination of altruism and hedonism: "he directed his followers to enjoy the pleasures of life and satisfy their appetite in the highest degree with regard to eating and drinking in the spirit of equality, to aim at good deeds; to abstain from shedding blood and inflicting harm on others; and to practise hospitality without reservation". This doctrine was further developed by the much better-known Mazdak the Younger, son of Bāmdād. At later stages the conservative Zoroastrian opposition accused Mazdak's followers of heresy and with abhorrent practices such as the sharing of women, for which scholars have found no evidence. Mazdak's followers are considered to be the first real socialists in human history by their emphasis on community property and community work with benefits accruing to all.