Tughril relegated the Abbasid Caliphs to state figureheads and took command of the caliphate's armies in military offensives against the Byzantine Empire and the Fatimid Caliphate in an effort to expand his empire's borders and unite the Islamic world.