https://en.wikipedia.org/wiki/Gibbeting
A gibbet /ˈdʒɪbɪt/ is any instrument of public execution (including guillotine, executioner's block, impalement stake, hanging gallows, or related scaffold), but gibbeting refers to the use of a gallows-type structure from which the dead or dying bodies of criminals were hung on public display to deter other existing or potential criminals. Occasionally the gibbet was also used as a method of execution, with the criminal being left to die of exposure, thirst and/or starvation.[1] The term gibbet may also be used to refer to the practice of placing a criminal on display within a gibbet.[2] This practice is also called "hanging in chains".[3]