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 become more advanced with new technology, but along with new skyscrapers and event centers, it still contains temples that are important for the pilgrimages to Mecca. In World War I, the Ottoman Empire was at war with Britain and its allies, having sided with Germany. It had successfully repulsed an attack on Istanbul in the Gallipoli Campaign and on Baghdad in the Siege of Kut. The British agent T. E. Lawrence conspired with the Ottoman governor Hussain bin Ali, the Sharif of Mecca. Hussein bin Ali revolted against the Ottoman Empire from Mecca, and it was the first city captured