(AP) — An underground pipeline spewed thousands of gallons of crude oil Thursday near the Southern California coast but the foul-smelling goo was contained in a lengthy stretch of ravine and never reached nearby beaches. About 29,000 gallons of oil spilled and flowed at least a quarter-mile in the canyon near Ventura, fire authorities said. The spill was the 11th for Crimson since 2006, with prior releases totaling 313,000 gallons of crude and causing $5.9 million in property damage, according to accident reports submitted by the company to federal regulators and reviewed by The Associated Press. Firefighters had a training exercise with Crimson and an oil spill cleanup company about two weeks ago, including building a dam as was done Thursday, Ventura County fire Capt. Scott Quirarte said. The Crimson line is an intrastate pipe, meaning it does not cross out of California and is therefore outside of federal jurisdiction, said Artealia Gilliard, a spokeswoman for the U.S. Pipeline and Hazardous Materials Safety Administration. Gilliard said the federal agency was sending personnel to assist on scene but the investigation would be led by California officials. Federal regulators said last month that Plains failed to prevent corrosion in its pipes, detect the rupture or respond swiftly as crude streamed toward the ocean on May 19, 2015.