This is Hagia Sophia. And that stone thing attached to the orange wall is a buttress. Several times during Hagia Sophia's long history, parts of the dome cracked and collapsed -- usually with the help of an earthquake. So, the dome was rebuilt and the wall strengthened several times.