This dude was elected pope in 1891. He made the mistake of inviting the King of Germany to visit Rome, around 1896, and this king was very disliked by the college of cardinals. They told him not to coronate this king, and he did. He died shortly after. Well these cardinals filed charges against the dead pope, and he was dug out of his grave, after several months, and summoned to appear before the assembly. The crown was put on his scalp, and the scepter was placed in his dead hand, they sat him on the throne, and read the charges to him. Pope Boniface VI led the prosecution, and just looked at him with that dead face, unable to answer the charges. It didn't take a long time to find him guilty, and all his infallible acts declared null and void. They degraded his body, tying it behind a cart and dragging it thru the city, then tossing the disgraced pope into the Tiber River. Read more here. How did this happen ? How could an inerrant church elect the wrong guy into office ?