Damascus was one of the earliest Muslim capitals, and here the Umayyad rulers built the most magnificent of early mosques. By comparing this to Hagia Sophia one can immediately see that the new rulers were appropriating the best of Late Antique culture and turning it to their own uses.