Anastasios was originally named Artemius and had served as a bureaucrat and Imperial secretary for his predecessors. After the Opsician army in Thrace had overthrown EmperorPhilippikos Bardanes, they acclaimed Artemius as Emperor. He choseAnastasius as his regnal name. Soon after his accession, Anastasius II imposed discipline on the army and executed those officers who had been directly involved in the conspiracy against Philippikos. Anastasios upheld the decisions of the Sixth Ecumenical Council and deposed the MonotheletePatriarch John VI of Constantinople, replacing him with the orthodox Patriarch Germanus in 715. This also put an end to the short-lived local schism with the Catholic Church. The advancing Umayyad Caliphate surrounded the Empire by land and sea, and Anastasios attempted to restore peace by diplomatic means. His emissaries having failed in Damascus, he undertook the restoration of Constantinople's walls and the rebuilding of the Roman fleet. However, the death of the Caliphal-Walid I in 715 gave Anastasius an opportunity to turn the tables on his rival. He dispatched an army under Leo the Isaurian, afterwards emperor, to invade Syria, and he had his fleet concentrate on Rhodes with orders not only to resist the approach of the enemy but to destroy their naval stores. These troops of the Opsician theme, resenting the Emperor's strict measures, mutinied, slew the admiral John, and proclaimed as emperor Theodosius III, a tax-collector of lowextraction. After a six-month siege, Constantinople was taken by Theodosius; Anastasios, who had fled to Nicaea, was eventually compelled to submit to the new emperor in 716 and retired to a monastery in Thessalonica. In 719, Anastasios headed a revolt against Leo III, who had succeeded Theodosius, receiving considerable support, including auxiliaries reportedly provided by Tervel of Bulgaria. However the chronicler Theophanes the Confessor, who offers this information elsewhere, confuses Tervel with his eventual successor Kormesiy, so perhaps Anastasios was allied with the younger ruler. In any case, the rebel forces advanced on Constantinople. The enterprise failed, and Anastasios fell into Leo's hands and was put to death by his orders.