Quick search by citation:

10 U.S. Code § 903a - Art. 103a. Espionage

Any person subject to this chapter who, with intent or reason to believe that it is to be used to the injury of the United States or to the advantage of a foreign nation, communicates, delivers, or transmits, or attempts to communicate, deliver, or transmit, to any entity described in paragraph (2), either directly or indirectly, anything described in paragraph (3) shall be punished as a court-martial may direct, except that if the accused is found guilty of an offense that directly concerns (A) nuclear weaponry, military spacecraft or satellites, early warning systems, or other means of defense or retaliation against large scale attack, (B) war plans, (C) communications intelligence or cryptographic information, or (D) any other major weapons system or major element of defense strategy, the accused shall be punished by death or such other punishment as a court-martial may direct.
(2) An entity referred to in paragraph (1) is—
a foreign government;
a faction or party or military or naval force within a foreign country, whether recognized or unrecognized by the United States; or
a representative, officer, agent, employee, subject, or citizen of such a government, faction, party, or force.
A thing referred to in paragraph (1) is a document, writing, code book, signal book, sketch, photograph, photographic negative, blueprint, plan, map, model, note, instrument, appliance, or information relating to the national defense.
(1) No person may be sentenced by court-martial to suffer death for an offense under this section (article) unless—
the members of the court-martial unanimously find at least one of the aggravating factors set out in subsection (c); and
the members unanimously determine that any extenuating or mitigating circumstances are substantially outweighed by any aggravating circumstances, including the aggravating factors set out in subsection (c).
(2) Findings under this subsection may be based on—
evidence introduced on the issue of guilt or innocence;
evidence introduced during the sentencing proceeding; or
all such evidence.
The accused shall be given broad latitude to present matters in extenuation and mitigation.
(c) A sentence of death may be adjudged by a court-martial for an offense under this section (article) only if the members unanimously find, beyond a reasonable doubt, one or more of the following aggravating factors:
The accused has been convicted of another offense involving espionage or treason for which either a sentence of death or imprisonment for life was authorized by statute.
In the commission of the offense, the accused knowingly created a grave risk of substantial damage to the national security.
In the commission of the offense, the accused knowingly created a grave risk of death to another person.
Any other factor that may be prescribed by the President by regulations under section 836 of this title (article 36).
(Added Pub. L. 99–145, title V, § 534(a), Nov. 8, 1985, 99 Stat. 634, § 906a; renumbered § 903a, Pub. L. 114–328, div. E, title LX, § 5401(7), Dec. 23, 2016, 130 Stat. 2938.)
Editorial Notes

2016—Pub. L. 114–328 renumbered section 906a of this title as this section.

Statutory Notes and Related Subsidiaries
Effective Date of 2016 Amendment

Amendment by Pub. L. 114–328 effective on Jan. 1, 2019, as designated by the President, with implementing regulations and provisions relating to applicability to various situations, see section 5542 of Pub. L. 114–328 and Ex. Ord. No. 13825, set out as notes under section 801 of this title.