The earliest known foreshadowing of the major legends of the Kayanian kings appears in the
Yashts of the
Avesta, where the dynasts offer sacrifices to the god Ahura Mazda in order to earn their support and to gain strength in the perpetual struggle against their enemies, the
Anaryas (non-Aryans, sometimes identified as the
Turanians). In
Yasht 5, 9.25, 17.45-46, Haosravah, a Kayanian king later known as
Kay Khosrow, together with
Zoroaster and
Jamasp (a premier of Zoroaster's patron
Vishtaspa, another Kayanian king) worship in
Airyanem Vaejah. The account tells that King Haosravah united the various
Aryan (
Iranian) tribes into one nation (
Yasht 5.49, 9.21, 15.32, 17.41). == In Mandaeism ==