The Avesta () is the primary collection of religious literature of Zoroastrianism. It was compiled and redacted during the late Sassanian period (ca. 6th century CE) although its individual texts were ″probably″ produced during the Old Iranian period (ca. 15th century BCE - 4th century BCE). Before their compilation, these texts had been passed down orally for centuries. All texts in the Avesta are composed in the Avestan language and are written in the Avestan alphabet. The oldest surviving fragment of a text dates to 1323 CE.
https://en.wikipedia.org/wiki/Avesta