An Amtrak train carrying more than 200 people has arrived in Chicago after weather-related problems caused it to stop for more than eight hours in southwestern Michigan.

Amtrak spokesman Marc Magliari says the train’s engine lost power Sunday due to cold weather. But he says heat, lights and restrooms still worked.

The train started in Pontiac, north of Detroit, and had trouble between Niles and New Buffalo in the corner of southwestern Michigan. It was later connected to another westbound train and arrived in Chicago around 1:30 a.m. CST Monday.

Magliari says passengers may have been frustrated but they were always safe on the stalled train. He says it was better to keep them on the train rather than switch to buses, even if buses were available.

Copyright (2014) Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.