Oct 17 (Reuters) - Tesoro Logistics LP on Thursday said it detected anomalies during an inspection of its 20-year-old North Dakota pipeline days before the line leaked more than 20,000 barrels of oil onto farmland.
The pipeline was carrying Bakken oil to a rail facility in North Dakota when it ruptured. A farmer harvesting wheat on his land discovered the leak Sept. 29.
A robot, known as a "smart pig," detected anomalies during what Tesoro called routine internal inspections of the pipeline September 10 and 11.
"We were awaiting results of the analysis of that inspection when the leak was reported," Tesoro spokeswoman Tina Barbee said.
North Dakota regulators said corrosion on the pipeline may have caused the spill.
The U.S. Department of Transportation's Pipeline and Hazardous Materials Safety Administration was on site investigating the spill despite the government shutdown over the last few weeks.
The pipeline remains shut down while the federal regulator looks into how Tesoro responded to the spill, its control-room processes and records and whether non-compliance contributed to the pipeline's failure, said Jeannie Shiffer, PHMSA's director for Governmental, International, and Public Affairs.
The ruptured pipeline runs 35 miles from Tioga to Black Slough in North Dakota. It was built by BP Plc in 1993.
It is a part of Tesoro's "High Plains" pipeline system in North Dakota and Montana that gathers oil from the Bakken shale and delivers it to another pipeline and to Tesoro's 68,000 barrels-per-day Mandan refinery.
Texas-based Tesoro bought the pipeline and the refinery from BP in 2001.
The spill is the largest on U.S. soil since an Exxon Mobil pipeline spilled 5,000 to 7,000 barrels of heavy Canadian crude in Mayflower, Arkansas, last March.
It is the largest oil leak in North Dakota since hydraulic fracturing unlocked massive oil reserves in the Bakken shale. In August North Dakota produced more than 911,000 barrels of oil per day.
(Reporting by Selam Gebrekidan; Editing by Gerald E. McCormick, John Wallace and Bob Burgdorfer)