In 1892, oil deposits were discovered in the city, which made California the largest oil producer in the United States in 1923, accounting for 1/4 of world oil production.