In Shahnameh mythology, the lineage of the Kurdish people originates from the young men saved from Zahhak's shoulder-serpents by Armayil and Garmayil. Sent into the mountains with herds of goats and sheep, they formed a nomadic, free-spirited people tied to the wild plains and highlands.