A large number of DH-4s were also used by the United States Navy and United States Marine Corps, both during the First World War and postwar. The Navy and Marine Corps received a total of 51 DH-4s during wartime, followed by 172 DH-4B and DH-4B-1 aircraft postwar and 30 DH-4M-1s with welded steel-tube fuselages (redesignated O2B) in 1925. They remained in service with the Marine Corps until 1929, being used against rebel factions in Nicaragua in 1927, carrying out the first dive-bombing attacks made by U.S. military forces. The U.S. Navy converted some DH-4M-1s into primitive air ambulances that could carry one stretcher casualty in an enclosed area behind the pilot.