A violation of the allegiance owed by somebody to his or her own country, for example, by helping an enemy.