BROOKMONT, Md. (WJZ) — Two barking dogs are being credited with helping rescue crews in Montgomery County pull a man who was stuck in the mud along the Potomac River to safety.

The two dogs caught the attention of a passing cyclist on the Chesapeake and Ohio Canal towpath around 2:30 p.m. Monday, alerting them to their owner, who was stuck in the mud out of sight around 50 yards away near the Brookmont dam.

READ MORE: COVID-19 In Maryland: Over 1.4K New Cases Reported, 11 New Deaths

The cyclist called rescue crews, who were able to remove the man from the knee-deep mud.

Officials said he had been unable to free himself and had been stuck for about an hour.

READ MORE: Crews On Scene Of Columbia House Fire

MORE NEWS: 26-Year-Old Man Shot In The Leg In West Baltimore

He was dirty but not hurt and refused medical attention after being evaluated by paramedics.