<human>:  When was the Hagia Sophia (znik) built?
<bot>: The Hagia Sophia was built between 532 and 537. It is an important religious monument in Istanbul, Turkey. It is the most famous Byzantine church and one of the largest churches in the world.