In 897, Pope Formosus was put on trial for violation of canon law and perjury. Popes were getting locked up…