NCIS traces its roots to Navy Department General Order 292 of 1882, signed by William H. Hunt, Secretary of the Navy. This established the Office of Naval Intelligence (ONI). At first the ONI was tasked with collecting information on the characteristics and weaponry of foreign vessels, charting foreign passages, rivers, or other bodies of water, and touring overseas fortifications, industrial plants, and shipyards.