Firefighters spent nearly two hours Saturday rescuing a mixed-breed puppy named Chippy after it fell into a 25-foot hole for an old well in Prince George’s County.

Rescuers received a call about the dog around 1:30 p.m. When they arrived outside a home along Marlboro Pike in District Heights, Md., crews tried to lower a rope into the hole for the dog to grab onto. But the dog didn’t take it, so a firefighter had to be lowered into the hole with oxygen, according to Jennifer Donelan, a spokeswoman for Prince George’s County Fire.

In a Twitter message, fire officials said, “We are happy to report ‘Chippy’ is now safe and back with family.”

Another firefighter suffered minor injuries after a piece of equipment fell on him, Donelan said. The firefighter was taken to a hospital.

The dog wasn’t hurt and was returned to its owners. It wasn’t exactly clear when or how Chippy ended up in the hole, but fire officials said he had been missing for two days.