Q asked a question earlier, and referenced a link to an EO regarding the UCMJ (Uniform Code of Military Justice).
What is the penalty for treason?
https://www.whitehouse.gov/presidential-actions/2018-amendments-manual-courts-martial-united-states/
Q
punishment for treason « Search Results « UCMJ – United States …
www.ucmj.us/?s=punishment+for+treason
(1) 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. (2) In the commission of the offense, the accused knowingly created a grave risk of substantial damage to the national security.