 In the United States martial law has been declared for a state or other locality under various circumstances including after a direct foreign attack (Hawaii after the Japanese attack on Pearl Harbor; New Orleans during the Battle of New Orleans); after a major disaster (Chicago after the Great Chicago Fire of 1871; San Francisco after the earthquake of 1906); and in response to chaos associated with protests and mob action (San Francisco during the 1934 West Coast waterfront strike; Montgomery, Alabama, following the mob actions against the Freedom Riders).It has also been declared by renegade local leaders seeking to avoid arrest or challenges to their authority (Nauvoo, Illinois by Joseph Smith during the Illinois Mormon War and Utah by Governor Brigham Young during the Utah War).The martial law concept in the United States is closely tied with the right of "habeas corpus", which is in essence the right to a hearing on lawful imprisonment, or more broadly, the supervision of law enforcement by the judiciary.