 Also in the 930s, 'Alī ibn Būyah and his two younger brothers, al-Hassan and Aḥmad founded the Būyid confederation.Originally a soldier in the service of the Ziyārīds of Ṭabaristān, 'Alī was able to recruit an army to defeat a Turkish general from Baghdad named Yāqūt in 934.Over the next nine years the three brothers gained control of the remainder of the caliphate, while accepting the titular authority of the caliph in Baghdad.