 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 Fitna, when it was held by Abdullah ibn az-Zubayr and the Zubayrids.The city was twice besieged by the Umayyads, in 683 and 692 and for some time thereafter, the city figured little in politics, remaining a city of devotion and scholarship governed by various other factions.