Izz al-Dawla, however, managed to hold out, and Sebük-Tegin died during the siege. 'Adud al-Dawla therefore eventually decided to restore him in Baghdad. Shortly afterwards however, a revolt launched by Izz al-Dawla's Dailamite mercenaries gave 'Adud al-Dawla the opportunity to overthrow his cousin. Having done so, he would have ruled Iraq directly, but Rukn al-Dawla vehemently opposed this. Izz al-Dawla was therefore made 'Adud al-Dawla's viceroy to Iraq. The latter's departure for Shiraz prompted Izz al-Dawla to immediately revoke his subservience.