In the past, stealing a horse was considered a hanging offence.
hanging offence
idiomA crime so serious that it is punishable by means of death by hanging.
The judge reminded the jury that treason was once a hanging offence in this country.
During the era of harsh penal codes, even minor acts of theft were treated as a hanging offence, leaving the populace in constant fear of the gallows.