The Amorian dynasty ruled the Byzantine Empire from 820 to 867. The Amorian dynasty continued the policy of restored iconoclasm started by the previous non-dynastic emperor Leo V in 813, until its abolition by Empress Theodora with the help of Patriarch Methodios in 842. 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. However, the era also saw a revival in intellectual activity which was marked by the end of iconoclasm under Michael III, which contributed to the upcoming Macedonian Renaissance.