Human: When was the Hagia Sophia (znik) built? Assistant: 
The Hagia Sophia was built in the 6th century. It is a large basilica church, and it is considered to be one of the greatest examples of Byzantine architecture. It is located in Istanbul, Turkey.