Rebuilt by the emperor Justin I after an earthquake in the 6th century, it became Justinopolis (525); but the old native name persisted, and when Thoros I, king of Lesser Armenia, made it his capital early in the 12th century, it was known as Anazarva.