The United States has been carrying out operations in Somalia since at least 2002 without a formal war declaration.