Thanks to a group of high school students on a field trip, a homeless man stuck in thick mud for three days near the Rio Grande River in Albuquerque, New Mexico is alive and recovering at a local hospital.

Last Saturday, students from La Cueva High School and their biology teacher heard a man yelling for help as they trekked through a marshy wetlands area in the Oxbow Open Space Preserve. Authorities responded immediately and freed the man from his muddy prison using a pulley system.

But the hapless man’s good luck ended there. According to officials, he’s wanted on a felony warrant and will arrested as soon as he recuperates. Maybe he would have been better off in the mud.

[via MSNBC]