The strategic importance of Raqqa grew during the wars at the end of the Umayyad Caliphate and the beginning of the Abbasid Caliphate. Raqqa lay on the crossroads between Syria and Iraq and the road between Damascus, Palmyra and the temporary seat of the caliphate Resafa, al-Ruha'.