ROCKFORD, Ill. (WTVO) — Rockford firefighters rescued a dog that had fallen into a 13-foot deep abandoned well on Wednesday.

The Rockford Fire Department posted on Twitter at 6:07 p.m. that they were facilitating the rescue. They said that the dog, Kobe, had fallen down the hole of an old well while chasing an animal and was trapped underground.

Shanika Kilpatrick said she took Kobe out to use the bathroom, but “he took off and ran.”

The family went searching and found him trapped in the well.

Crews used technical rescue equipment to save the trapped dog, who could be seen at the floor of the dry tank. He appeared unhurt, according to the fire department.

Photo: Rockford Fire Department

Rockford Fire posted less than an hour later that Kobe had been rescued and was in good health. He was later reunited with his owners.

“I’m happy to have my baby at home right now,” Kilpatrick said.

Workers have since capped the well, as a precaution.