A family’s dog is being credited for waking everyone up in a burning house early this morning in the village of Mazomanie, allowing the family to escape the flames without injury.

The fire happened at the home of Paul and Debra Hoffman, 18 Emily Road, at about 1:30 a.m., said Mazomanie Fire Chief Walter Peterson.

“The fire started outside on the back deck,” Peterson said. “The family was awakened by their dog, so everyone was able to get out, including all of their pets.”

The house sustained substantial damage to the roof, ceiling and attic. No damage estimate was given.

The Mazomanie Fire Department, EMS and Dane County Sheriff’s Office responded to the fire.

One firefighter sustained a sprained ankle fighting the blaze.

The cause of the fire remains under investigation.