Several CSX tanker cars carrying crude oil derailed and caught fire along the James River in downtown Lynchburg, Va., leading to the evacuation of nearby buildings, but no injuries, city officials said.

The city on its website and Twitter posted that firefighters on the scene made the decision to let the fire burn out and urged motorists and pedestrians to avoid the area. It tweeted that the tanker cars were carrying crude oil and that three or four of them were breached. The city said 13 or 14 tanker cars were involved in the derailment.

Photos and video show several black tanker cars on their sides, and extensive flames and smoke pouring into the sky.

The city said there was no impact on the drinking water for its 77,000 residents due to spillage into the James River. However, officials for the city of Richmond said its public utilities department is drawing from an old canal system instead of the James River as a precaution.

'My first thought was it sounded like one of the guys started a motorcycle and then a realized, wait a minute, no ... that was more of a boom.'- Lynchburg worker Gerald McComas

The train with about 15 cars was travelling from Chicago to Virginia when it derailed, CSX said in a statement. It did not say where the train was headed. The railroad operator said it is "responding fully, with emergency response personnel, safety and environmental experts, community support teams and other resources."

The National Transportation Safety said it is sending investigators to the scene.

Concern about the safety of oil trains was heightened last July when a runaway oil train derailed and exploded in Lac-Megantic, Que., killing 47 and destroying 30 buildings.

Train Derailment Virginia

Fire spreads across the water in the James River after the derailment and explosion. (Stetson Jenkins/AP)

Rail and safety officials said they were surprised by the ferocity of the fire in Lac-Megantic. They were used to dealing with sludge-like crude that doesn't ignite easily, but Canadian investigators said the combustibility of light, sweet Bakken crude released in Lac-Megantic was more comparable to gasoline.

The city said on in a news release on its website that CSX officials were working to remove the portion of the train that is blocking workers from leaving Griffin Pipe Foundry located in the lower basin.

"We're used to kind of bangs and booms," said Gerald McComas, a security officer who works near the derailment site. "My first thought was it sounded like one of the guys started a motorcycle and then a realized, wait a minute, no ... that was more of a boom. We walked outside and there was the smoke rolling in."

A portion of the train was blocking the road allowing workers at to leave their parking lot, McComas said. Instead workers were walking along the tracks to get to the other side of the train in order to leave their facility.

"I'm walking home tonight," McComas joked.

U.S. government keeping an eye on situation

Gov. Terry McAuliffe said Deputy Secretary of Public Safety and Homeland Security Adam Thiel was dispatched to the site to provide officials with updates on the situation.

In one of her last acts before leaving office last week, outgoing National Transportation Safety Board Chairman Deborah Hersman warned the Obama administration that it needs to take steps immediately to protect the public from potentially catastrophic oil train accidents even if it means using emergency authority.

The safety board has long recommended that the Department of Transportation toughen its design standard for the kind of rail tank cars used to transport crude oil and ethanol.

There have been eight significant oil train accidents in the U.S. and Canada in the past year involving trains hauling crude oil, including several that resulted in spectacular fires, according to the safety board.