Effective control over the more distant provinces of the empire had long been lost, but now autonomous local dynasties emerged in the territories around the Abbasids' metropolitan region of Iraq itself: Egypt and Syria came under the rule of the Ikhshidids, the Hamdanids secured control over Upper Mesopotamia, while most of Iran was ruled by Daylamite warlords, among whom the Buyids became prominent.