The American government, for its part, was also interested in standardizing the measure of oil supply. Toward the end of the American Civil War, the federal government needed money for military needs, so it decided to impose a tax on each barrel loaded with oil. The tax was tied to size: $1 per barrel with a capacity of up to 45 gallons, $2 per barrel of any larger capacity.