(image borrowed from The Mummy Wiki)
"In 897, Pope Stephen VI exhumed the rotting corpse of his predecessor, Formosus, in order to put him on trial. Although the deacons put up a spirited defense, the corpse was eventually found guilty of perjury. As punishment, the corpse had its three 'sacred' fingers broken off, was dressed in layman's clothes, and buried again. Later it was exhumed again and tossed into a river."
Jaw literally dropped. Thinking about the extremes of exhuming a corpse to find him guilty of a crime way after the fact. I mean, damn!!! That's crazy!!