Hagia Sophia was built in 537 AD and remains as a gem of Byzantine architecture.