Read the story
In 1611, Shah Abbas the First faced a problem of geometry. He had moved his capital to Isfahan in 1598, and now he wanted a great royal mosque on the city's grand square. But a mosque's prayer hall must face Mecca, and the square didn't.
The foundation inscription above the entrance credits the architect, Ali Akbar Isfahani, and his answer was sleight of hand. The towering portal faces the square head-on. But step inside, and the vestibule swings about forty-five degrees to the southwest, so by the time you reach the prayer hall, you are facing Mecca. The scholar Donald Wilber suggested the twist may have been part of the plan: it pulls the dome out from behind the portal, where the whole square can see it.
And what a dome. It rises fifty-two meters on the outside, with a second, inner shell at thirty-eight. Its echo carried prayer through the entire building. Local tradition says that if you stamp on the dark stone beneath its center, you'll hear up to seven echoes.
Abbas was in a hurry. He wanted the mosque finished in his lifetime, and shortcuts were taken. That made haft rangi, the seven-color method, a natural fit: craftsmen painted many colors onto a single tile, then fired it. It was cheaper and quicker than the old tile mosaic. Abbas is also said to have brushed aside an architect's warning that the foundations could sink. In 1662, the building needed major repairs.
The rush still lost to the clock. Abbas died in January 1629. An inscription on the western iwan dates the finished mosque to around 1630, under his successor, Shah Safi.
After the 1979 revolution, its official name became the Imam Mosque. But the bend in its plan still tells the older story: a king who wanted to face his people and his God at once, and built a hallway to do both.