Macedonian dynasty
Despite several insurrections, the Emirate of Armenia lasted until 884, when the Bagratuni Ashot I, who had managed to win control over most of its area, declared himself "King of the Armenians". He received recognition by Caliph Al-Mu'tamid of the Abbasid dynasty in 885 and Byzantine Emperor Basil I of the Macedonian dynasty in 886.