A planetary State of emergency is a status assigned to Federation planets in immediate peril and is declared by the President.
States of Emergency have been declared on Earth:
2285: Whale probe threat
2366: Borg threat
2372: Terrorist attack / coup
2377: Borg threat (citation needed • edit)