a sister of the Jalayirid ruler Husain. The Jalayirids refused the offer and invaded, although Shah Shoja managed to prevent them from getting any further than Sultaniyya. Before dying in 1384, he named his son Zain al-Abidin his successor and his third brother 'Imad ad-Din Ahmad as governor of Kirman. Not satisfied with the arrangement, Shah Yahya advanced against Shiraz, but was expelled from Isfahan by the city's populace and was forced to flee to Yazd. On his deathbed, Shah Shoja wrote a letter to Timur, who was then campaigning in Azerbaijan, in which he gave his sons' loyalty to the conqueror. Muzaffarid decline When Zain Al-Abidin succeeded his father, he quickly ignored the declaration of loyalty. Timur therefore marched into the Muzaffarid lands. He came to Isfahan, where the governor gave him control of the city, but a rebellion in the city killed any goodwill Timur had, resulting in a slaughter of the populace. Zain Al-Abidin fled from Shiraz in an attempt to make it to the Jalayirids in Baghdad, who were enemies of Timur. However, he encountered Shah Yahya's brother Shah Mansur, who imprisoned him. Shiraz soon fell to Timur. Shah Mansur and 'Imad ad-Din Ahmad, along with other Muzaffarid princes, went to Shiraz to declare their loyalty, whereupon Timur restored them to their positions. The conqueror soon after returned to Transoxiana; Shiraz was given to Shah Yahya. Unfortunately, the Mozaffarids soon began to resume their local feuding. Shah Mansur began by expelling Shah Yahya from Shiraz, whereupon Shah Yahya again fled to Yazd. Shah Mansur then conquered Abarquh, but failed to take Isfahan. Meanwhile, Zain al-Abidin escaped from prison and reached Isfahan. An alliance was then formed between Zain al-Abidin, Shah Yahya and 'Imad ad-Din Ahmad against Shah Mansur. The alliance proved to be unstable, however, and when they met Shah Mansur's army at Furg, Shah Yahya failed to show and 'Imad ad-Din Ahmad quickly retreated. The latter met Shah Mansur again, this time at Fasa, but lost and was captured in Ray. He was blinded and imprisoned. Shah Mansur then approached Kirman, where Sultan Ahmad and Shah Yahya had gone after the events at Furg. He offered a common alliance against Timur, but was rebuffed and thereafter returned to Shiraz. Timur, who while campaigning elsewhere took note of these events, decided in 1392 that a campaign against Shah Mansur was in order. Shah Mansur gained the