The first oil well in United States is drilled in 1859 at Titusville, Pennsylvania. As we all know before 1859 there were no earth quakes in North America.
Shallow earthquake are less than 70km 43 miles.
Deep oil well run over 7000 ft
The deepest well in California was 24,426 ft.
The 7000 number was from the USGS and I will check what it was.