 The Bagratunis took over the city during the eighth century.In 895, after the establishment of the Kingdom of Armenia, Bagaran became the capital of an independent Armenia under king Ashot I.His successor king Smbat I moved the capital Bagaran to Shirakavan in 890.