'Adud al-Dawla
The Iranian Buyid dynasty under Imad al-Dawla Ali ibn Buya ousted the Saffarids in 933 and his nephew and successor, 'Adud al-Dawla Fana Khusraw, took over and ruled Fars between 949 and 983, and added Iraq, the seat of the Abbasid Caliphate, to his Shiraz-based domains in 977; the Abbasids thenceforth became a puppet state of the Shiraz-based dynasty. Shiraz developed into the largest and most prosperous city of Fars and an important economic and cultural center of the caliphate. Adud al-Dawla had a large library, a hospital and several mosques, bazaars, caravanserais, palaces and gardens built in the city, while south of it he erected a fortified camp for his troops, known as Kard Fana Khusraw, in 974. One of the congregational mosques built by Adud al-Dawla has survived until the present day. Two Zoroastrian fire temples also existed in Shiraz, catering to the Persians who had not converted to Islam. One of Adud al-Dawla's palaces stretched out for nearly three miles and consisted of 360 rooms.