Question: Where was the Abbasid court based?
Sentence: In reconstructing this history, therefore, it is necessary to rely mainly on sources, such as the histories of Tabari and Baladhuri, that were written in the Abbasid court at Baghdad.
Answer in sentence: yes