MANKATO (AP) — Six cars of a Union Pacific train that was heading to St. Paul went off the tracks in Mankato.

The train was not carrying hazardous materials and there were no injuries when the derailment happened about 2:30 a.m. Thursday.

Union Pacific spokesman Mark Davis says the derailment happened when the Union Pacific train struck a car from a Canadian Pacific train that was crossing in front of it.

Three Union Pacific engine cars and three cars carrying grain went into an embankment near Land of Memories Park. Davis says there was a small diesel fuel leak, but the spilled fuel was being collected.

Davis says four Canadian Pacific train cars also derailed, but appeared to remain upright.

Rail authorities are investigating.