HOUSTON -

A deputy was credited with saving a northeast Harris County home from a fire Tuesday night.

The Harris County Fire Marshal said the deputy was patrolling near the home on Kentington Oak Drive and Carriage Park Drive Tuesday at 9 p.m. when he smelled smoke. He was able to track the smell down to a home and saw smoke billowing from the roof.

The deputy called for backup and then banged on the door to make sure no one was inside. No one answered.

The deputy said he worried there were people inside, so be broke down the door and started a search.  He did not find anyone, but he did discover a dog that died in the fire

After checking around, the deputy discovered the fire was coming from the attic.

Harris County's Eastex Fire Department was able to get the fire under control before it spread to the rest of the home.

A Fire Marshal's Office investigator said the family had left the home about 30 minutes before the fire started. The investigators said if the deputy did not call for help when he did, the fire would have gotten out of hand and likely destroyed the home.

Investigators believe an electrical issue caused the fire.

One firefighter was injured after falling from a ladder during the fire fight. He suffered a minor arm injury and was treated on scene.