(a) Whoever intentionally kills—
(1) a State or local official, law enforcement officer, or other officer or employee while working with Federal law enforcement officials in furtherance of a Federal criminal investigation—
any person assisting a Federal criminal investigation, while that assistance is being rendered and because of it,
shall be sentenced according to the terms of section 1111, including by sentence of death or by imprisonment for life.
Whoever, in a circumstance described in paragraph (3) of this subsection, while incarcerated, intentionally kills any State correctional officer engaged in, or on account of the performance of such officer’s official duties, shall be sentenced to a term of imprisonment which shall not be less than 20 years, and may be sentenced to life imprisonment or death.
As used in this section, the term, “State correctional officer” includes any officer or employee of any prison, jail, or other detention facility, operated by, or under contract to, either a State or local governmental agency, whose job responsibilities include providing for the custody of incarcerated individuals.
(3) The circumstance referred to in paragraph (1) is that—
the incarcerated person is incarcerated pursuant to a conviction for an offense against the United States.