In all, 18,482 B-24s were built by September 1945. Twelve thousand saw service with the USAAF, with a peak inventory in September 1944 of 6,043. The U.S. Navy received 977 PB4Y-1s (Liberators originally ordered by the USAAF) and 739 PB4Y-2 Privateers, derived from the B-24. The Royal Air Force received about 2,100 B-24s equipping 46 bomber groups and 41 squadrons; the Royal Canadian Air Force (RCAF) 1,200 B-24Js; and the Royal Australian Air Force (RAAF) 287 B-24Js, B-24Ls, and B-24Ms. Liberators were the only heavy bomber flown by the RAAF in the Pacific.