The California oil and gas industry has been a major industry for over a century. Oil production was a minor factor in the 19th century, with kerosene replacing whale oil and lubricants becoming essential to the machine age. Oil became a major California industry in the 20th century with the discovery on new fields around Los Angeles and the San Joaquin Valley, and the dramatic increase in demand for gasoline to fuel automobiles and trucks. In 1900 California pumped 4 million barrels (640,000 m3), nearly 5% of the national supply. Then came a series of major discoveries, and the state pumped 100 million bbl (16 million m3) in 1914, or 38% of the national supply. In 2012 California produced 197 million bbl (31 million m3) of crude oil, out of the total 2,375 million bbl (378 million m3) of