Complex sentence: Consequentially, in accepting the last meal the condemned was believed to forgive the executioner, the judge, and witness (es), the ritual was supposed to prevent the condemned from returning as a ghost or revenant to haunt those responsible for their killing.
Split into simpler sentences: Consequentially, in accepting the last meal the condemned was believed to forgive the executioner, the judge, and witness (es). The ritual was supposed to prevent the condemned from returning as a ghost or revenant to haunt those responsible for their killing.