Mecca assigned the task of bringing Mecca back under Ottoman control to their powerful "Khedive" (viceroy) of Egypt, Muhammad Ali Pasha. Muhammad Ali Pasha successfully returned Mecca to Ottoman control in 1813. In 1818, followers of the Salafi juristic school were again defeated, but some of the Al Saud clan survived and founded the Second Saudi State that lasted until 1891 and led on to the present country of Saudi Arabia. Mecca was regularly hit by cholera outbreaks. Between 1830 and 1930 cholera broke out among pilgrims at Mecca 27 times. One of the world travelers to Mecca in the fifteenth
Mecca more when Ali, the fourth caliph, took power choosing Kufa as his capital. The Umayyad Caliphate moved the capital to Damascus in Syria and the Abbasid Caliphate to Baghdad, in modern-day Iraq, which remained the center of the Islamic Empire for nearly 500 years. Mecca re-entered Islamic political history during the Second Islamic Civil War, when it was held by Abd Allah ibn al-Zubayr, an early Muslim who opposed the Umayyad caliphs. The city was twice besieged by the Umayyads, in 683 and 692. For some time thereafter the city figured little in politics, remaining a city of devotion and