Original: Baghdad was the capital of the Abbasid caliphate, an Islamic state whose heart was the modern state of Iraq.
Simplified: Baghdad was the capital of the Abbasid Empire.