The majority of the fabric of the current building dates from 1077–1081, when Maria Dukaina, the mother-in-law of Alexius I Comnenus, rebuilt the Chora Church as an inscribed cross or quincunx: a popular architectural style of the time. Early in the 12th century, the church suffered a partial collapse, perhaps due to an earthquake