Mecca scholarship governed by the Hashemite Sharifs. In 930, Mecca was attacked and sacked by Qarmatians, a millenarian Ismaili Muslim sect led by Abū-Tāhir Al-Jannābī and centered in eastern Arabia. The Black Death pandemic hit Mecca in 1349. In 1517, the Sharif, Barakat bin Muhammed, acknowledged the supremacy of the Ottoman Caliph but retained a great degree of local autonomy. In 1803 the city was captured by the First Saudi State, which held Mecca until 1813. This was a massive blow to the prestige of the (Turkish) Ottoman Empire, which had exercised sovereignty over the holy city since 1517. The Ottomans
Battle of Mecca (883) Ibn Tulun again endeavored to assert his authority in Mecca, and he dispatched the officers Muhammad ibn al-Sarraj and al-Ghanawi to the city with a force of four hundred and seventy cavalry and two thousand infantry. The Tulunid army reached Mecca on June 8 (two days before the beginning of the pilgrimage month of Dhu al-Hijjah) and found the governor Harun ibn Muhammad absent from the city, being at that time at Bustan ibn 'Amir. Upon their arrival they began distributing money among the populace in order to garner support, giving two dinars each to the Jazzarin and Hannatin and