The Shahnameh is a long poem by the Persian poet Firdausi. He began to write it in about 973 CE when he was 40. It tells the heroic history of Iran over a period of 4,000 years. It is 60,000 couplets (two written lines) long. The purpose of the epic poem was to tell of the past glories of Iran.