A dog that survived the catastrophic wildfire in Northern California apparently protected the ruins of his home for almost a month until his owner was able to return.

Madison was there waiting when Andrea Gaylord was allowed back to check on her burned property in Paradise this week.

Gaylord fled when the Nov. 8 fire broke out and decimated the town of 27,000; she was unable to make it back to her home as the fire spread.

This Friday, Dec. 7, 2018 photo provided Shayla Sullivan shows Madison, an Anatolian shepherd dog that apparently guarded his burned home for nearly a month until his owner returned in Paradise, Calif. Sullivan, an animal rescuer, left food and water for Madison during his wait. Shayla Sullivan via AP

An animal rescuer who responded to Gaylord's request to check on Madison first spotted the male Anatolian shepherd mix several days later.

Shayla Sullivan said the outdoor guard dog was apprehensive and kept his distance. Sullivan left food and water for him regularly until Gaylord got back on Wednesday. She also helped locate Madison's brother Miguel, another Anatolian shepherd mix that was taken to a shelter 85 miles away in the confusing aftermath of the wildfire.

"If (the evacuees) can't be there I'm going to be and I'm not going to give up on their animal until they can get back in," Sullivan said.

The dogs reunited Friday when Gaylord came back to the property with Miguel and brought Madison his favorite treat: a box of Wheat Thins crackers.

Gaylord told TV station ABC10 she couldn't ask for a better animal.

"Imagine the loyalty of hanging in in the worst of circumstances and being here waiting," she said.

"Their instinctual job is to watch the flocks and we're part of them," Gaylord said about her dogs. "It's a comforting feeling."