(CBS SF) — A man who hiked out in search of his elderly lost dog along a steep trail in Marin County found the dog but then needed a rescue crew to help them get out.

The Marin County Sheriff’s Office said search and rescue personnel responded Sunday night to help the hiker who had gotten stuck off trail in the vicinity of Dias Ridge northeast of Muir Beach on the slopes of Mt. Tamalpais in unincorporated Marin County.

READ MORE: Storm Fronts March Through Bay Area; Massive Tree Topples In San Francisco Neighborhood

The Mill Valley Patch reported the 55-year-old man found his missing 14-year-old black Labrador barking below a steep embankment Sunday around 8 p.m.

READ MORE: Fremont Police Arrest Suspect in Shooting Outside Nightclub; Second Suspect Still Wanted

The dog, named Shadow, was exhausted and couldn’t walk; and the man would not have been able to carry him out of the steep drainage area where he was found, according to a spokeswoman for the sheriff’s office Search and Rescue unit.

Some two dozen rescue crew members responded and found them both hiker and Shadow got a ride up on a stretcher.

MORE NEWS: Outrage Grows Over Racist Comments Targeting KPIX 5 Reporter Betty Yu

No other injuries were reported.