From 984 to 1085 the country from Diarbekr to Melasgerd was ruled under the suzerainty first of Arabs then of Byzantines and Seljuks, by the Mervanid dynasty of Kurds, called princes of Abahuni ('Airaxouvi - js).
The Mongol conquest was only temporary, but Smyrna was resumed by the Seljuks of Aidin and has remained till the present day in Mahommedan hands.
With the rise of the Ghaznevids and later uhaznevtds the Seljuks, the Abbasid caliphate ceased to count as an independent power.
Even before this time, however, the supremacy which they enjoyed under Mahmud in Persia had fallen into the hands of the Seljuks who, in the reign of Masud L, son seij~s.
In 1037 Seljuk princes were recognized in Merv and Nishapur, and in the ensuing eighteen years the Seljuks conquered Balkh, Jorjan, Tabaristan, Klwarizm, Hamadan, Rai, Isfahan, and finally Bagdad (1055).