Avesta of particular manuscripts. A pre-Sasanian history of the Avesta, if it had one, is in the realm of legend and myth. The oldest surviving versions of these tales are found in the ninth to 11th century texts of Zoroastrian tradition (i.e. in the so-called "Pahlavi books"). The legends run as follows: The twenty-one "nask"s ("books") of the Avesta were created by Ahura Mazda and brought by Zoroaster to his patron Vishtaspa ("Denkard" 4A, 3A). Supposedly, Vishtaspa ("Dk" 3A) or another Kayanian, Daray ("Dk" 4B), then had two copies made, one of which was stored in the treasury, and the other
Religion in Asia trying to destroy the creation of Mazda (asha), and good trying to sustain it. Mazda is not immanent in the world, and His creation is represented by the Amesha Spentas and the host of other Yazatas, through whom the works of God are evident to humanity, and through whom worship of Mazda is ultimately directed. The most important texts of the religion are those of the Avesta, of which a significant portion has been lost, and mostly only the liturgies of which have survived. The lost portions are known of only through references and brief quotations in the later works