In the following year however, Shah Mahmud, with the support of his father-in-law Shaikh Awais Jalayir of the Jalayirids, invaded Fars and captured Shiraz. Shah Shoja would not be able to reconquer his capital until 1366. Shah Mahmud would continue to play and influential role in Iranian politics, using his marriage alliance to claim Tabriz from the Jalayirids after Shaikh Awais Jalayir died in 1374. He occupied the city but soon gave up after he was struck by illness. He died the next year, allowing Shah Shoja to occupy Isfahan.