A San Francisco Fire Department rescue team succeeded in saving a dog named Kobe who jumped into the Bay Sunday afternoon chasing a bird and then became trapped under a pier with nowhere to get out of the water.

The SFFD says they received multiple calls around 2:30 pm Sunday about a dog in the water near McCovey Cove.

"The fire department’s land and marine rescue teams arrived swiftly and met with the owner, who reported that her dog had jumped into the water after chasing a bird," the department says in a post on Xitter. "With no way to escape, the dog was swimming frantically and becoming increasingly exhausted."

Photo via SFFD

The department posted a video of the rescue, which involved a rescue boat and a rescue swimmer who went in to put a life-preserving band around the dug and tug him over to the boat.

The dog, a German shorthaired pointer, was successfully hoisted into the boat, and we can see him shaking off water and seeming generally relieved.

Another good argument for keeping your hunting dog on a leash at all times!