Roman emperor Hadrian, in 117 AD, declared attempted suicide by soldiers a form of desertion and made it a capital offense.