The Umayyads ruled the first empire after the death of Muhammad. They made their capital in the city of Damascus and expanded Muslim power into Spain. In 750, they were replaced by the Abbasids, who ruled from Baghdad. This marked the beginning of Islams Golden age.