Oil in Oklahoma was first discovered by accident in 1859, in a salt well that had been drilled near Salina, in what was then Indian Territory. In 1907, before Oklahoma became a state, it produced the most oil of any state or territory in the United States. From 1907 to 1930, Oklahoma and California traded the title of number one US oil producer back and forth. Oklahoma oil production peaked in 1927, at 762,000 barrels/day, and by 2005 had declined to 168,000 barrels/day, but then started rising, and by 2014 had more than doubled to 350,000 barrels per day, the fifth highest state in the U.S.