The report released by the Defense Department inspector general revealed that in fiscal 2023 there were 183 allegations of extremism across all the branches of military.
Whoever incites, sets on foot, assists, or engages in any rebellion or insurrection against the authority of the United States or the laws thereof, or gives aid or comfort thereto, shall be fined under this title or imprisoned not more than ten years, or both; and shall be incapable of holding any office under the United States.
From the UCMJ: