A dog who was critically injured after being impaled by a tree limb on Wadmalaw Island was expected to be released to a foster family Wednesday, according to the Charleston Animal Society.

An area resident who heard the dog’s barking found the Staffordshire terrier mix named Louis dangling in a tree near a marsh, and Animal Society workers started caring for him May 4. The dog likely had chased an animal up the tree before slipping and falling on the branch.

In the days since then, Dr. Henri Bianucci of Veterinary Specialty Care in Mount Pleasant has overseen treatment of the dog’s wounds that included hyperbaric oxygen therapy and several surgeries, the Animal Society said Wednesday in a statement.

“After all the care and attention, Louis is now enjoying spending time outdoors in the sun, wagging his tail and lifting his paw for belly rubs and greeting kennel mates,” Bianucci said in the statement.

When he was found, the dog had a microchip, and his owner later came forward. It wasn’t immediately clear Wednesday why the dog was going into foster care, but Animal Society officials said donations to Toby’s Fund, which covers medical bills for animals like Louis, helped avoid euthanasia for the pup.

Reach Andrew Knapp at 937-5414 or twitter.com/offlede.