Firefighters were called to the Brunswick rail yard Tuesday after a train pulled in with smoking contents.
The train car was carrying cocoa powder. The cocoa powder caught on fire at about 6:50 a.m. in Rockville, a CSX spokeswoman said in an email.
The fire was believed to be put out, but when the train car reached Brunswick, the contents were smoking again, prompting a response that lasted several hours.
Only the contents were on fire, not the entire train car, said Brunswick Mayor Jeff Snoots, who went to the fire scene.
There was no danger to Brunswick, Snoots said. In the statement, the CSX spokeswoman said that no injuries resulted from the initial fire in Montgomery County.