Between the eighth and tenth centuries, Baghdad was a major center of study under the Abbasid caliphs al-Mansur (r. 754???75) and al-Macmun (r. 813???33), but local rulers across the region, in Cairo, Rayy, Isfahan, and other cities, also supported scientific research.