Baghdad was founded in the year 762 CE (Common Era) by the Abbasid caliph Al-Mansur.