 The mausoleum was built on some of the remnants of the virgins brought from Vagharshapat (Etchmiadzin).In the 1040s–1050s inscriptions were left on the cathedral's eastern and western walls about urban projects, such as restoration of defensive walls, installation of water pipes and easing of the tax burden on the residents of Ani.Ani surrendered to the Byzantine Empire in 1045, who held it until 1064, when the city was captured by the Seljuks, led by Alp Arslan.