 In 1064, following the Seljuk conquest of Ani, the cathedral was converted into a mosque.It later returned to being used as an Armenian church.It eventually suffered damage in a 1319 earthquake when its conical dome collapsed.