How to stop a freight train from leaving Portland, Oregon

The Portland-bound cargo train that derailed in Salem, Oregon, on Saturday morning has stopped at a port in Seattle, officials said.

State Transportation Commissioner Brian Mack said a total of four cars were derailed at the Salem, Washington, station.

Two of the cars are now stuck in the rail yard, Mack said.

No injuries were reported.

A freight train was heading toward Salem from Oregon to Portland, which is about an hour away.

The rail yard has about 700 employees.

It has about 5,500 cars on the line.

State officials were working to get the train back on track.

The train left Portland on its route to Oregon on Saturday afternoon.