Hagia Sophia

Hagia Sophia was built between 532 and 537 as the largest Christian church of the Eastern Roman Empire (Byzantine Empire) and the Eastern Orthodox Church.

An excerpt from the article 18 facts about Hagia Sophia
It temporarily became a Roman Catholic cathedral during the Latin Empire from 1204 to 1261.