An Amtrak train with 183 passengers aboard that had been stuck for at least 36 hours on tracks in the snowy Oregon mountains has arrived at the Eugene train depot.

Red Cross volunteers greeted passengers when they arrived on Tuesday aboard the Coast Starlight train, which still had electricity, heat and food.

The train was traveling from Seattle to Los Angeles when it got stranded on Sunday, putting a strain on passengers as food, patience and even diapers ran short.

The train came to a stop after crew members spotted trees on the tracks. Railroad officials decided to keep the passengers onboard instead of letting them scatter in a town that was dealing with its own problems: a blackout, snow and debris-covered roads.

A number of passengers onboard posted about their plight on social media. Rebekah Dodson wrote on Facebook that the long wait had gone by “in the blink of an eye” because there was so much commotion on the train, saying she was kept busy doing news interviews as well as “helping people out of panic attacks and chasing down toddlers”.

Life Update: Been stuck on a train for 29 hours and counting trying to get back to school🙃 pic.twitter.com/1bLq4yhsC4 — Emily May (@emilylmay99) February 26, 2019

We have accepted our new life on the train. Tribes are forming. We are all walking thin. #stuckonamtrak — Tracy27 (@Tracy27) February 26, 2019

Passenger Carly Bigby told KOIN-TV parents have run out of diapers and there was limited cellphone service.