The gates were down at the time of the accident, which occurred when the truck -- with two people inside -- ran into the train, which was traveling south.

Railway officials said the truck tried to beat the train and hit an end ladder.

The truck was loaded onto the bed of a tow truck and a passenger who was stuck inside the truck was eventually transported to a hospital.

"The gate was down, but they swerved the gate and just smashed into the train," said Nick Smith, who saw the accident. "I watched it happen. It was crazy. It was a big loud bang. The train just stopped on a dime. I didn't even know it could do that."