By early 10th century, the Abbasids almost lost control to the growing Iranian faction known as the
Buyid dynasty (934–1062). Since much of the Abbasid administration had been Persian, the Buyids were quietly able to assume real power in Baghdad. The Buyids were defeated in the mid-11th century by the
Seljuq Turks, who continued to exert influence over the Abbasids.