 Although the Umayyad family came from the city of Mecca, Damascus was the capital.After the death of Abdu'l-Rahman ibn Abu Bakr in 666, Muawiyah I consolidated his power.Muawiyah I moved his capital to Damascus from Medina, which led to profound changes in the empire.