Two corrections officers from Wyoming County on their way to work spotted a house on fire in Attica and alerted the family inside.
The Attica Fire Department says the officers woke the sleeping family and helped them get out of the home safely.
The fire happened just after 5 a.m. Monday.
The house suffered major damage.
While the official cause of the fire has not been determined, investigators suspect a Halloween decoration may be to blame.