Zoroastrianism is the religion that arose in ancient Persia, traditionally founded by the prophet Zoroaster (Zarathustra), known in Chinese records as Xianjiao or the fire-worshipping religion. It worships Ahura Mazda as the supreme good god, takes the conflict of good and evil as its basic doctrine, teaches a last judgement and reward or punishment, venerates sacred fire, and its scripture is the Avesta. Its founding date is much debated, most scholars placing it around the sixth century BC or earlier. The faith was widely current on the Persian plateau under the Achaemenid dynasty, and after the Sasanian dynasty was founded it became the state religion, its priests holding high place in religious and political life. In 651 the Sasanian dynasty fell in the Arab conquest, after which Persians gradually converted to Islam, some of the faithful migrating to India, where their descendants are called Parsis. The religion entered China through the Western Regions in the Northern and Southern Dynasties, and in the Tang fire temples stood in Chang'an and Luoyang, declining after the Huichang persecution of Buddhism. Its eschatology and its angels and demons influenced Judaism and Christianity.