The Revolution (1775-1783) was treason. Fortunately, the Patriots won.
Because they were spying on their opponents.