Treason is defined in the United States Constitution in Article III, Section 3. However, Congress has made laws that punish other actions that hurt national security. Some examples are the 1798 Alien and Sedition Acts, or the 1917 Espionage Act.