nquered by the Rashidun army led by Khalid ibn al-Walid, resulting in the area's becoming part of the Islamic empire. In the mid-7th century, the Umayyad dynasty, then rulers of the empire, placed the capital of the empire in Damascus. Syria was divided into four districts: Damascus, Homs, Palestine and Jordan. The Islamic empire stretched from Spain and Morocco to India and parts of Central Asia; thus Syria prospered economically, being the capital of the empire. Early Ummayad rulers such as Abd al-Malik and Al-Walid I constructed several splendid palaces and mosques throughout Syria, particularly in Damascus, Aleppo and Homs.
There was great toleration of Christians in this era and several held governmental posts. The country's power dramatically declined during later Ummayad rule; mainly due to the totalitarianism and corruption spread among the empire's leaderships, conflict between its general staff, and the successive revolutions by the oppressed and miserable groups. As one Ummayad chieftain responded to a question about the reasons of the decline of their empire: "Rather visiting what needed to be visited, we were more interested in the pleasure and enjoyment of life; we oppressed our people until they gave up and sought relief from us...we trusted our ministers who favoured their own interests and kept secrets from us, and we unhurriedly rewarded our soldiers that we lost their obedience to our enemies."
The Ummayad dynasty was then overthrown by the Abbasid dynasty in 750, who moved the capital of empire to Baghdad. Arabic — made official under Ummayad rule — became the dominant language, replacing Greek and Aramaic in the Abbasid era. In 887, the Egypt-based Tulunids annexed Syria from the Abbasids, and were later replaced by once the Egypt-based Ikhshidids and later by the Hamdanids originating in Aleppo founded by Sayf al-Dawla.
Sections of the coastline of Syria were briefly held by Frankish overlords during the Crusades of