The Hagia Sophia was built in Constantinople by the emperor Justinian, to both display the majesty of God and the emperor. It was a Christian church, using the Roman domes overhead. Though the use of classical architectural values were used in its building, it also lacked quite a few of these values such as in its lack of harmony and symmetry. It did, however, dazzle the patron with its glittering marble walls, large mosaics, and large impressive structure. It in fact became the model of churches.
During the Ottoman conquest of the Byzantine, Hagia Sophia was converted from a Christian Church to an Islamic Mosque. Mosaics were whitewashed over to hide their themes, and various Islamic symbols and words were hung about. This did, however, represent a new stage in history, where both the Christian and Muslim communities had to live together.