Question: is hagia sophia a church?
Answer: Built in 537 as the patriarchal cathedral of the imperial capital of Constantinople, it remained the largest church of the Eastern Roman (Byzantine) Empire until 1453, when it was converted into an Ottoman mosque upon the fall of the city. In 1931 it became a secular museum, and in 2020 will re-open as a mosque.