In the 1070s, after the battle of Manzikert, the Seljuk commander Suleiman ibn Qutulmish, a distant cousin of Malik-Shah I and a former contender for the throne of the Seljuk Empire, came to power in western Anatolia.