Shortage of whale oil in the Confederacy made peanut oil an attractive alternative during the American Civil War.[20] The oil had increased use in the United States during World War II, because of war shortages of other oils.[21]