Damavand is a significant mountain in Persian mythology. It is the symbol of Iranian resistance against despotism and foreign rule in Persian poetry and literature. In Zoroastrian texts and mythology, the three-headed dragon Aži Dahāka was chained within Mount Damāvand, there to remain until the end of the world. In a later version of the same legend, the tyrant Zahhāk was also chained in a cave somewhere in Mount Damāvand after being defeated by Kāveh and Fereydūn. Persian poet Ferdowsi depicts this event in his masterpiece, the Shahnameh: