Bagratid Armenia was an independent Armenian state established by Ashot I 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 "prince of princes" in 862 and, later on, as king (in 884 or 885). 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.