Hagia Sophia is a former patriarchal basilica, later a mosque, now a museum, in Istanbul.Famous in particular for its massive dome, it is considered the epitome of Byzantine architecture. It was the largest cathedral in the world for nearly a thousand years, until the completion of the Medieval Seville Cathedral in 1520.