swing for
verbEtymology From the sense of "swing" meaning to be hung by the neck as capital punishment.
2
To be hanged for a crime.
3
Swing for someone: To be hanged for murdering someone.
- I'll swing for him, when I get out. Katherine Lynch reported in “Minor Matters: Willing to "Swing for Him."”, in Weekly Mail, Cardiff, 20 June 1908, page 10