Plains All American Pipeline L.P. and several of its operating subsidiaries agreed to spend approximately 41 million over the next three years to prevent and remediate corrosion, improve leak detection practices and capabilities, and enhance pipeline oversight on 10,420 miles of crude oil pipeline operated in the United States. The settlement resolved Clean Water Act violations arising out of 10 crude oil spills in Texas, Louisiana, Oklahoma and Kansas and also requires the pipeline company to pay a 3.25 million civil penalty.