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
Mecca or "Makkatu l-Mukarramah" (, ), which means "Mecca the Honored", but is also loosely translated as "The Holy City of Mecca". The ancient or early name for the site of Mecca is "Bakkah" (, also transliterated Baca, Baka, Bakah, Bakka, Becca, Bekka, etc.). An Arabic language word, its etymology, like that of Mecca, is obscure. Widely believed to be a synonym for Mecca, it is said to be more specifically the early name for the valley located therein, while Muslim scholars generally use it to refer to the sacred area of the city that immediately surrounds and includes the "Ka‘bah"