SPARTANBURG — Authorities are probing what caused a train to derail in downtown Spartanburg, spilling coal and blocking traffic for several hours.

CSX Transportation spokeswoman Carla Groleau says the train was heading from Kentucky to Georgia when six cars went off the tracks at around 9 a.m. Sunday. Four of the cars overturned, spilling coal onto the tracks.

No one was hurt, but train crossings were blocked for several hours.

Spartanburg Public Safety Department Capt. Regina Nowak says the derailment happened near a city waste transfer station and caused some damage to the facility’s fencing.

Groleau says it could take weeks for investigators to determine what caused the train cars to go off the track.