Nearly half of all US states have maintained the death penalty as legal punishment for certain crimes.