On a federal level only the President can declare it. Both a governor and mayor can delcare Martial Law in almost all states I believe. The mayor of Chicago declared it in 1871 during the Chicago Fire. San Francisco has declared it twice that I know of 1906 (earthquake) and in 1934 (Riots).
TY, you should come here more often - you are a wealth of knowledge.