Recalling the legend, the 10th-century epic Shahnameh recasts Zahhak as an evil and tyrannical ruler, against whom Kaveh called the people to arms, using his leather blacksmith apron as a standard, with a spear as its hoist.In the story, after the war that called for the kingship of Fereydun (Persian: فریدون) had been won, the people decorated the apron with jewels and the flag became the symbol of Iranian nationalism and resistance against foreign tyranny.The symbol of Derafsh Kaviani is a lotus flower, which refers to the royal stars of Persia, and its history goes back to ancient Iranian beliefs from the Achaemenid Empire period.Thus, in 867, when Ya'qub-i Laith of the Saffarid dynasty claimed the inheritance of the kings of Persia and sought "to revive their glory", a poem written on his behalf sent to the Abbasid caliph said: "With me is the Drafsh e Kavian, through which I hope to rule the nations."[4] Although no evidence that Ya'qub-i Laith ever recreated such a flag, star imagery in banners remained popular until the ascendance of the Lion and Sun symbol (after 1846).