A crude oil pipeline operated by Magellan Midstream Partners LP (NYSE: MMP) ruptured near Bastrop, Texas, in the morning on July 13, spilling an estimated 1,200 barrels of oil and prompting an evacuation, the Tulsa, Okla.-based company said.

No injuries were reported, Magellan said in a statement.

UPDATE - Repairs To Magellan's Longhorn Crude Pipeline Completed; Operations Resumed

Magellan's Longhorn Pipeline, which transports crude oil from the Permian Basin in Crane, Texas, to Houston, ruptured about 4 miles (6 km) southwest of Bastrop. The company shut the pipeline and isolated the affected segment, the company said.

People within a two-mile (3-km) radius of the spill were advised to remain indoors, the sheriff's department and local emergency officials said. Several families near the site of the pipeline break were temporarily evacuated, and part of a nearby road was closed, the company said.

The pipeline was ruptured when a contractor doing maintenance work hit a fitting, Magellan said. The line was in service at the time.

Emergency responders, company representatives, environmental agencies and clean-up crews were at the site, the company said.