The Buyid dynasty was founded by 'Ali ibn Buya, who in 934 conquered Fars and made Shiraz his capital. His younger brother Hasan ibn Buya conquered parts of Jibal in the late 930s, and by 943 managed to capture Ray, which he made his capital. In 945, the youngest brother, Ahmad ibn Buya, conquered Iraq and made Baghdad his capital. He received the "laqab" or honorific title of "Mu'izz al-Dawla" ("Fortifier of the State"). The eldest, 'Ali, was given the title of '"Imad al-Dawla" ("Support of the State"), and Hasan was given the title of "Rukn al-Dawla" ("Pillar of the State").