The Abbasid dynasty or Abbasids (Banu al-ʿAbbās) were an Arab dynasty that ruled the Abbasid Caliphate between 750 and 1258. They were from the Qurayshi Hashimid clan of Banu Abbas, descended from Abbas ibn Abd al-Muttalib. The Abbasid Caliphate is divided into three main periods: Early Abbasid era (750–861), Middle Abbasid era (861–936) and Later Abbasid era (936–1258). A cadet branch of the dynasty also ruled as ceremonial rulers for the Mamluk Sultanate as Caliph (1261–1517), until their conquest by the Ottoman Empire. The Abbasids descended from Abbas, one of Muhammad's companions (as well as his uncle) and one of the early Qur'an scholars. Therefore, their roots trace back to Hashim ibn 'Abd Manaf and also Adnan in the following line: Al-‘Abbas ibn Abdul-Muttalib ibn Hashim ibn Abd Manaf ibn Qusai ibn Kilab ibn Murrah ibn Ka'b ibn Lu'ay ibn Ghalib ibn Fihr ibn Malik ibn An-Nadr ibn Kinanah ibn Khuzaima ibn Mudrikah ibn Ilyas ibn Mudar ibn Nizar ibn Ma'add ibn Adnan. The Abbasid dynasty was the dynasty that ruled the third caliphate to succeed the Islamic prophet Muhammad. It descends from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 CE), from whom the dynasty takes its name. The Abbasids ruled as caliphs for most of the caliphate from their capital in Baghdad in modern-day Iraq, after having overthrown the Umayyad Caliphate in the Abbasid Revolution of 750 CE (132 AH). The Abbasid Caliphate first centered its government in Kufa, modern-day Iraq, but in 762 the caliph Al-Mansur founded the city of Baghdad, near the ancient Babylonian capital city of Babylon. Baghdad became the center of science, culture and invention in what became known as the Golden Age of Islam. This, in addition to housing several key academic institutions, including the House of Wisdom, as well as a multiethnic and multi-religious environment, garnered it a worldwide reputation as the "Center of Learning".