Answer: Hello, it’s Zooey!
The Abbasids moved the empire's capital from Damascus, in modern-day Syria, to Baghdad, in modern-day Iraq, in 762 CE. The Abbasids had depended heavily on the support of Persians in their overthrow of the Umayyads, and the geographic power shift appeased the Persian mawali support base.
Hope this helps ;)