The Iranian oil industry is the oldest in the Middle East, with oil seeps known since ancient times but systematic exploration beginning in the early 20th century. In 1901, William Knox D'Arcy obtained an oil concession from Iran and the first well was unsuccessfully drilled, but in 1908 oil was struck in commercial quantities at Masjed-e Soleymān. This led to the formation of the Anglo-Persian Oil Company in 1909, which built Iran's first oil refinery near Abadan in 1912 with a capacity of 2,400 barrels per day, steadily increasing production through 1918.