A freight train has come off the rails in California leaving goods wagons carrying food products immersed in water.

The accident happened in Sacramento County as the Union Pacific train was heading north along a levee next to the Cosumnes River. Twenty-two wagons left the rails.

None of the three people on board was hurt.