He ruled there up until Musharrif al - Dawla died in 1025 .
Musharrif al - Dawla had taken control of Iraq .
He ruled there up until Musharrif al - Dawla , who had taken control of Iraq , died in 1025 .