Federal agencies, and especially the military, had been involved in some disaster response and recovery on an ad hoc basis for years: After the 1906 earthquake in San Francisco, for instance, the Army worked to restore order in the city (though it did so quite informally, having received no specific instructions from the president or the War Department in Washington).