Where was the abbasid capitol?

Baghdad. Before the Abbasids, it was Damascus, but once the Abbasids took over they changed it to Baghdad.