Hanged For trying to die

According to a British law passed in 1845, attempting to commit suicide was a capital offense. Offenders could be hanged for trying
.
http://www.paranormalhaze.com/img/bizarre-and-weird/mad-scientist/hanged-man.jpg