Imagine you're walking through a city full of marble streets, fountains and buildings with domes that shine in the sunlight.
You hear the sound of church bells and people speaking many different languages around you.
You walk toward a giant building, taller than anything you've ever seen, with huge doors and a golden dome that seems to touch the sky.
As you step inside, your eyes grow wide.
It feels like walking into a treasure chest filled with golden mosaics, giant columns and a ceiling so high you wonder how anyone could ever build it.
You've just entered Hagia Sophia, one of the most amazing buildings ever made.
Hagia Sophia is located in the city, now called Istanbul, in the country of Turkey.
Long ago, this city was called Constantinople, and it was the capital of the Byzantine Empire.
That was more than one 500 years ago.
The name Hagia Sophia means holy wisdom in Greek.
The incredible building we see today wasn't the first version of Hagia Sophia.
Two earlier churches once stood on the same spot.
The first was built in the year 360 by the Roman emperor Constantius II, but it was damaged during times of unrest.
A second version was built in 415 but was destroyed in a fire in 532 after a time of unrest in the city.
After that fire the emperor at the time, Justinian I wanted to build something grander than ever before.
He imagined a church so magnificent that it would show everyone the power and beauty of his empire.
Justinian hired two very smart men to design it, Anthemius of Tralles and Isidore of Miletus.
They were not regular builders, they were mathematicians and engineers.
They started working on Hagia Sophia in 532.
And amazingly, the building was finished in just five years, in 537.
When Emperor Justinian saw the final church completed, he was amazed.
A famous story says that when he walked into the finished Hagia Sophia, he stretched out his arms and said Glory to God, who has thought me worthy of such a work.
I have outdone you, Solomon.
He was comparing his church to the temple built by King Solomon in Jerusalem, one of the most famous buildings in the Bible.
The most impressive feature of Hagia Sophia is its dome, which seems to float high above the floor.
This dome is about 100 feet across and stands over 180 feet tall.
At the time, no one had ever built such a large dome on top of a building like this.
The architects used clever tricks and strong walls to support the dome and let light shine through many windows, making it look like it hovers over the center of the church.
Inside Hagia Sophia, the walls are covered in marble from many different places and bright mosaics made from tiny pieces of colored glass and stone.
These mosaics show religious scenes, important rulers, and angels.
One of the most famous mosaics is of Jesus, with Emperor Constantine XIX and Empress Zoe on either side of him.
These pictures helped teach people stories and ideas, especially when many of them could not read.
For nearly 1000 years, Hagia Sophia remained a Christian church and the center of Christian life in the eastern part of the old Roman Empire called the Byzantine Empire.
But over time empires changed and in 1453 Constantinople was conquered by the Ottoman Empire led by Sultan Mehmed II.
Rather than destroying Hagia Sophia, Sultan Mehmed II admired its beauty.
He decided to turn it into a mosque, a place for Muslim worship.
He added some Islamic features like minarets, tall towers used for the call to prayer, a mirab, a small area that shows the direction of Mecca for prayers, and calligraphic medallions with names important in Islam.
Many Christian mosaics were covered with plaster, not destroyed to protect them, and the building was still used every day by people of faith, just in a different way.
Hagia Sophia remained a mosque for almost 500 years.
Then in 1935, something new happened.
Turkey had become a modern country, and its leader, Mustafa Kemal Ataturk, decided to turn Hagia Sophia into a museum.
That way, people from all over the world, no matter what religion they followed, could visit and admire its beauty and learn its story.
For most of the 20th century, visitors came from every corner of the globe to see Hagia Sophia.
Art experts worked hard to uncover the Christian mosaics that had been hidden, while also preserving the Islamic features.
The building became a place of learning, history, and peace.
In 1985, UNESCO named it a World Heritage Site because of its great cultural importance.
In 2020, Hagia Sophia was turned back into a mosque.
Daily prayers now happen there again. but it is still open for visitors just like a museum.
The mosaics and decorations are still displayed and protected, allowing the building to continue sharing its long and amazing story with everyone who walks through its doors.
Hagia Sophia is more than just stone and artwork.
It is like a history book made of marble and light.
Over 1,500 years, it has been a church, a mosque, and a museum.
It has survived earthquakes wars, empires rising and falling and huge changes in the world, and yet it still stands today graceful, strong and welcoming to all.
So what can Hagia Sophia teach us?
It shows that beauty, creativity and faith can last a long time, even when the world around them changes.
It reminds us that people from different times and cultures can care for something together.
As the author John Freely once wrote, Hagia Sophia is the one monument that all travelers to Istanbul must see, because its spell binds the mind and the imagination.
Whether you're interested in art, buildings or history, Hagia Sophia proves that great things can happen when people dream big and work together.
So next time you hear about a place called Istanbul.
Think of this marvelous building with its glowing dome and colorful walls.
Maybe one day you'll walk through its doors and look up, just like millions of others have done for centuries.