The Byzantine Empire was ruled by the Amorian or Phrygian dynasty from 820 to 867. The Amorian dynasty continued the policy of restored iconoclasm (the "Second Iconoclasm") started by the previous non-dynastic emperor Leo V in 813, until its abolishment by Empress Theodora with the help of Patriarch Methodios in 842.[1] The continued iconoclasm further worsened relations between the East and the West, which were already bad following the papal coronations of a rival line of "Roman Emperors" beginning with Charlemagne in 800. Relations worsened even further during the so-called Photian Schism, when Pope Nicholas I challenged Photios' elevation to the patriarchate.