The Persian poet Hakim Abul-Qasem Ferdowsi Tusi, known as Firdausi, composed the epic poem 'Shahnameh' (Book of Kings). He was associated with the court of Sultan Mahmud of Ghazni, although their relationship was complex and marked by disagreements.