There was no formal “school of astronomy” in medieval Baghdad, but the Abbasid Caliph Al-Ma'mun established an observatory around 829–830 CE in the Shammasiyah district. It became a center for astronomical observation and instrument development, contributing to works like the Zij al-Sindhind.