The great period of the Persian miniature began when Persia was ruled by a succession of foreign dynasties, who came from the east and north.
It was only in the 14th century that the practice began of commissioning illustrated copies of classic works of Persian poetry, above all the Shahnameh of Ferdowsi (940-1020) and the Khamsa of Nizami, which were to contain many of the finest miniatures.