Posthumous execution is the ritualexecution of an already dead body.
Examples include:
Pope Formosus (died 896), whose body was exhumed by his successor, Pope Stephen VII, dressed in papal vestments and seated on a throne to undergo a "trial", later known as the Cadaver Synod or the Synod Horrenda. Found guilty, the body was stripped, three fingers from its right hand cut off, and the corpse thrown into the Tiber.