 However, in 1045, Bagaran along with the Armenian capital Ani was invaded by the Byzantines.In 1064, the city was attacked and heavily destroyed by the Seljuk Turks.During the 12th century, the Shah-Armens took over Bagaran.