structural:summarization
Bagratid Armenia was an independent Armenian state established by Ashot I Bagratuni of the Bagratuni dynasty in the early 880s following nearly two centuries of foreign domination of Greater Armenia under Arab Umayyad and Abbasid rule. With each of the two contemporary powers in the region—the Abbasids and Byzantines—too preoccupied to concentrate their forces on subjugating the region, and with the dissipation of several of the Armenian nakharar noble families, Ashot succeeded in asserting himself as the leading figure of a movement to dislodge the Arabs from Armenia. Ashot's prestige rose as both Byzantine and Arab leaders—eager to maintain a buffer state near their frontiers—courted him. The Abbasid Caliphate recognized Ashot as the "prince of princes" in 862 and, later on, as king. The establishment of the Bagratuni kingdom later led to the founding of several other Armenian principalities and kingdoms: Taron, Vaspurakan, Kars, Khachen and Syunik. During the reign of Ashot III (952/53–77), Ani became the kingdom's capital and grew into a thriving economic and cultural center. The first half of the 11th century saw the decline and eventual collapse of the kingdom. The Byzantine emperor Basil II (r. 976–1025) won a string of victories and annexed parts of southwestern Armenia; King Hovhannes-Smbat felt forced to cede his lands and in 1022 pledged that his kingdom would pass to the Byzantines following his death. However, after Hovhannes-Smbat's death in 1041, his successor, Gagik II, refused to hand over Ani and continued resistance until 1045, when his kingdom, plagued by internal and external threats, was finally taken by Byzantine forces.