Crews with Florida East Coast Railway and the National Transportation Safety Board are trying to figure out what caused a train to come off the tracks Sunday morning in Brevard County.

Four rail cars that were carrying cargo containers came off the tracks. One locomotive was turned on its side.

According to officials, there was a diesel spill, but it has been contained.

Brevard County Fire Rescue says Viera Boulevard has been reopened to traffic. One southbound lane of U.S. 1, just south of Viera Boulevad is blocked to traffic, closed indefinitely.

Crews at the scene of a train derailment. Four rails cars went off the tracks. (Brevard County Fire Rescue)

"You don’t see that too often,” says Brent Theilacker, who says he drove 30 minutes so he could snap a picture of his kids with the scene behind them. 

According to Brevard Fire Rescue, the cargo train was travelling from Miami, on its way up the coast when a locomotive and 4 rail cars derailed in Rockledge at about 5am.

No injuries have been reported.