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 Muslims. Moreover, some of these were spared when they converted to Islam. Muhammad's return was followed by several battles which led to Muslims conquering the rest of Arabia, and a final return to Mecca in 632 where he completed his first true Islamic pilgrimage, and made his Farewell Sermon at Mount Arafat. His return marked the end of the tenth year after Muslims' migration to Medina, and his pilgrimage set the precedence for the annual Great Pilgrimage, known as "Hajj." In his "Farewell Sermon", at Mount Arafat east of Mecca on the 9th of Dhu al-Hijjah, Muhammad advised his followers