It was ruled by the Umayyad Dynasty (, "Banu Umayyah") who came from Mecca, in present-day Saudi Arabia. Damascus was the capital from 661–744, Harrran from 744–750, and in exile their capital was Córdoba (756–1031).