In 1987, he served as Secretary of the Navy, becoming the first Naval Academy graduate to serve as the civilian head of the Navy. As Navy Secretary, Webb pushed the appointment of Alfred M. Gray Jr. as Commandant of the Marine Corps, hoping that Gray could reshape the Corps into the elite unit it once was.