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
Muhammad in Mecca clan protection implied that the blood revenge for his killing would not be exacted. Muhammad then tried to find a protector for himself in another important city in Arabia, Ta'if, but his effort failed and further brought him into physical danger. Muhammad was forced to return to Mecca. A Meccan man named Mut'im ibn Adi and the protection of the tribe of Banu Nawfal made it possible for him safely to re-enter his native city. Some time in 620, Muhammad told his followers that he had experienced the "Isra and Miraj", a supernatural journey said to have been accomplished in