A massive wildfire tearing through Alaska's Kenai National Wildlife Refuge has caused wildlife to flee the area, but not every creature managed to escape.

Earlier this week, firefighters found a den of wolf pups that had been left behind when the rest of their pack raced away from the advancing flames of the Funny River Fire.

The pups were dehydrated, injured and hungry -- but almost all of them were alive.

The den was in a firebreak built as workers rushed to stop the fire's spread, but no one noticed the pups at first.

“We actually cut through part of the den with the dozer and just kept going. Nobody realized anything, that was three or four days ago,” firefighter Brian Nichols told the Peninsula Clarion. “Yesterday, a couple of guys were sitting there mopping up... and saw (one) come out.”

The firefighter who first spotted the pup was too big to fit into the den -- which reached 10 feet into the hillside -- so a smaller firefighter crawled in and pulled out four more pups, the Anchorage Daily News reported.

“They would have died if we didn’t pull them out,” firefighter Jefferson Sam told KTUU. “For me, it was the right thing to do.”

The pups -- three males and two females -- are about two weeks old, and were so dehydrated that wildlife officials believe they had been abandoned for several days. A sixth pup was also in the den, but was dead by the time rescuers got to it.

The rescued pups were given sugar water to help them to hydrate.

“It’s just like a holding a dog,” Nichols was quoted as saying in the Peninsula Clarion. “They were hungry and trying to suckle on anything. It was just like holding a puppy, they’re so young they don’t know any better.”

Following the rescue, the pups were taken to Anchorage for further care, Kenai National Wildlife Refuge posted on Facebook, adding that all of them had been injured by porcupine quills and that at least one is being treated for an infection.

The animals are currently in the care of the Alaska Zoo, which says they cannot be released into the wild now that they've been handled by humans. However, as the zoo currently has a resident wolf pack, it says it's working to find a new home for the pups.

For now though, they seem to be doing just fine.