The Muzaffarid dynasty () was a Muslim dynasty which came to power in Iran following the breakup of the Ilkhanate in the 14th century. At their zenith, they ruled a kingdom comprising Iranian Azerbaijan, Central Persia, and Persian Iraq. The Muzaffarids were known for their support of Arabic literature. Shah Shoja was a poet and wrote in both Arabic and Persian and was said to be capable of memorizing eight verses of Arabic poetry after hearing them read once. While the Muzaffarid ruler of Kirman, Shah Yahya, commissioned the scholar Junyad bin Mahmud Al-Umari to compile an anthology of Arabic poetry and prose for him Rise to power The Muzaffarids were originally from Arabia and had settled in Khorasan from the beginning of Caliphal rule there. They have been described as an Arab, Iranian, and Persian dynasty. They stayed in Khorasan up until the Mongol invasion of that province, at which point they fled to Yazd. Serving under the Il-Khans, they gained prominence when Sharaf al-Din Muzaffar was made governor of Maibud. He was tasked with crushing the robber-bands that were roaming around the country. Sharaf al-Din's son, Mubariz al-Din Muhammad, was brought up at the Il-Khan's court but returned to Maibud upon the death of the Il-Khan Öljeitü. In around 1319 he overthrew the atabeg of Yazd and was subsequently recognized as governor of the city by the central Il-Khan government. Following this he began fighting against the Neguderis, a Mongol tribal group. He managed to face this crisis with a minimum of loss. In the wake of the loss of Il-Khan authority in central Iran following the death of Abu Sa'id (Ilkhanid dynasty), Mubariz al-Din continued to carry out his expansionary policy. In 1339 or 1340 he invaded the province of Kirman and seized it from its Mongol governor, Qutb al-Din b. Nasir. Kutb al-Din was able to retake the province for a short time after receiving aid from the Kartid dynasty of Herat, but Mubariz al-Din permanently gained control of Kirman in late 1340. The city of Bam was besieged and conquered a few years after this. After the conquest of Kirman, Mubariz al-Din became a rival of the neighboring Injuids, who controlled Shiraz and Isfahan. Although the Muzaffarids and Injuids had traditionally been on friendly terms with one another, the Injuid Abu Esshaq's desire to gain Kirman led him to start a drawn-out conflict with the