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) Battle of Mecca (883) The Battle of Mecca was an armed skirmish fought in 883 between the forces of the Tulunid ruler of Egypt and Syria, Ahmad ibn Tulun, and those of the Abbasid Caliphate, supported by the Saffarid emirate. The battle took place at Mecca in western Arabia and was fought to determine who would gain guardianship over the city during the annual pilgrimage. It ended with an Abbasid-Saffarid victory and the expulsion of the Tulunid forces from Mecca. Ahmad ibn Tulun, a Turkish soldier in the service of the Abbasids, had been appointed governor of Egypt in 868.