National security, or national defense, is the security and defense of a sovereign state, including its citizens, economy, and institutions, which is regarded as a duty of government. Originally created as protection against military attacks, national security is now widely understood to also include non-military attributes.