The protection of a nation and its citizens from threats such as terrorism, espionage, and military attack.