 The choice fell on Al-Muttaqi.Bajkam was killed on a hunting party by marauding Kurds.In the ensuing anarchy in Baghdad, Ibn Raik persuaded the Caliph to flee to Mosul where he was welcomed by the Hamdanids.