For nearly 1,000 years the Church of Haghia Sophia was the greatest church in Christendom , an architectural wonder built by the Byzantine Empire to impress the world .
When it was almost 1000 years old , the Church of Hagia Sophia was captured by Muslims .