A dog in Ohio who had been missing for five days is back home after it was found trapped between two concrete walls in a nearby home's garage and freed by firefighters using a saw and a sledgehammer.

The homeowner called the Cincinnati Fire Department on Sunday after hearing the dog's cries.

OHIO MAN'S RESCUE OF MOTHER AND SON, 10, AT NORTH CAROLINA BEACH CAUGHT ON DRONE FOOTAGE

Firefighters discovered Gertie had fallen down a crevice and was trapped between the walls. The dog had escaped from its home on Tuesday and its owners had put up missing posters around the neighborhood.

DOG OWNER NEEDS TO BE RESCUED AFTER JUMPING INTO HUDSON RIVER RESCUE BELOVED PET

A video posted on Facebook showed firefighters using the tools to create an opening in the wall to pull Gertie to safety after about 10 minutes. The dog wagged its tail after being rescued.

CLICK HERE TO GET THE FOX NEWS APP

"It was just so sweet, just wagging that little nub tail, and she was just so, she was so excited," Gertie's owner, Connie Frick, told WXIX-TV.