Federal law provides the death penalty for many homicide-related crimes, espionage, treason, terrorism, murder, robbery, and drug trafficking.[130][131] 31 of the 50 states currently have the death penalty.