The Fall of Jamshid
In Ferdowsi’s Shahnameh, King Jamshid enjoyed a long, brilliant reign. He organized society, encouraged crafts, and brought prosperity. Over time, however, pride overcame him. He claimed divine honors, and the royal glory that legitimized his rule departed.
At this moment of weakness, Zahhak rose. In the epic he is an Arabian prince, the son of a good king named Mardas, deceived by Ahriman, the spirit of destructive evil. The deceiver first encouraged Zahhak to kill his own father, digging a pit in the path where Mardas walked each morning to pray, and Zahhak seized the throne.
The Serpents
Ahriman then appeared as a talented cook and won Zahhak’s favor with rich new foods. As a reward, he asked permission to kiss Zahhak’s shoulders. When he did, two black serpents sprang from them.
Every attempt to cut the serpents away failed; they grew back. Ahriman returned disguised as a physician and prescribed a horrifying treatment: each day the serpents must be fed the brains of two young people.
Zahhak’s rule became an age of fear that the Shahnameh says lasted a thousand years. Jamshid fled and hid for a hundred years, until he was captured near the sea of China and sawn in two. Every day the tyrant’s agents seized two young people from the cities to feed the snakes. Two compassionate men, Armayel and Garmayel, took service as royal cooks so they could secretly save one of every pair, mixing the brain of a sheep with the brain of the other victim. They sent the survivors to the mountains with goats and sheep. In Ferdowsi’s account, those who escaped became the ancestors of the Kurds.
A Dream of Defeat
Zahhak dreamed that a young hero would strike him down with an ox-headed mace. Terrified, he searched for the child. The hero was Fereydun, whose father Zahhak had killed. Fereydun’s mother hid him, and he was nourished for a time by the marvelous cow Barmaya.
When Zahhak’s agents killed the cow, Fereydun escaped and grew in secret. Meanwhile, Zahhak tried to strengthen his rule by forcing leading men to sign a declaration that he had always been just.
Kaveh Raises His Apron
Kaveh, a blacksmith, entered the court seeking the return of his last surviving son. Zahhak had already taken many of Kaveh’s children. The king released the son but demanded Kaveh’s approval of the false declaration.
Kaveh tore it apart and denounced the tyrant before the court. Leaving the palace, he raised his leather blacksmith’s apron on a spear as a banner. People gathered behind it. Decorated with jewels by later kings, this humble apron became the legendary Derafsh Kaviani, a symbol of Iranian resistance and royal authority.
Kaveh led the rebels to Fereydun, the hero foretold in Zahhak’s dream.
Fereydun’s Victory
Fereydun marched against Zahhak carrying an ox-headed mace. He captured the tyrant’s palace and defeated him. As Fereydun prepared to kill Zahhak, a divine message instructed him not to do so. Zahhak’s final time had not yet come.
Instead, Fereydun bound him with lion-hide thongs and imprisoned him in a cave inside Mount Damavand, the highest peak in Iran, nailing his hands to the rock. There the serpent-shouldered tyrant remains chained in legend, his destructive power contained rather than erased.
Justice Against Tyranny
The story contrasts failed and legitimate rule. Jamshid loses glory through pride. Zahhak rules through deception, fear, and the consumption of the young. Fereydun has heroic destiny, but the rebellion begins publicly with Kaveh, an ordinary craftsman who refuses to endorse a lie.
Kaveh’s apron is the story’s clearest symbol. An object of daily labor becomes a national banner because its owner acts when elites remain silent.
From Avesta to Shahnameh
Zahhak has older roots in Iranian religious tradition. In the Avesta, the scripture of Zoroastrianism, Aži Dahāka is a monstrous three-headed dragon with three mouths and six eyes, created to destroy the world, and the hero Thraētaona, the older form of Fereydun’s name, defeats him. Later Zoroastrian texts add that the chained dragon will break free near the end of time and be slain by the hero Kərəsāspa, called Garshasp in Persian. Ferdowsi, completing the Shahnameh around 1010 CE, reshaped these traditions into one of Persian literature’s most influential narratives, turning the dragon into a human tyrant with serpents growing from his shoulders.
The Shahnameh also links Fereydun’s victory to the calendar. Ferdowsi says Fereydun took the throne on the first day of the month of Mehr, and the autumn festival of Mehregan has long been associated with that day.
The banner had a history of its own. The Derafsh Kaviani was carried as the royal standard of the Sasanian kings, and according to early Islamic historians it was captured by the Arab armies at the Battle of al-Qadisiyyah in 636 CE.