Trial by ordeal was adopted in the 13th century by the Empire of Nicaea and the Despotate of Epirus; Michael Angold speculates this legal innovation was most likely through "the numerous western mercenaries in Byzantine service both before and after 1204." It was used to prove the innocence of the accused in cases of treason and use of magic to affect the health of the emperor. The most famous case where this was employed was when Michael Palaiologos was accused of treason: he avoided enduring the red-iron by saying he would only hold it if the Metropolitan Phokas of Philadelphia could take the iron from the altar with his own hands and hand it to him. However, the Byzantines viewed trial of ordeal with disgust and considered it a barbarian innovation at odds with Byzantine law and ecclesiastical canons. Angold notes, "Its abolition by Michael Palaiologos was universally acclaimed."