A family was able to get out of their Cobb County home safely after a fire swept through it early Wednesday morning, officials said.

The fire broke out about 5 a.m. at a home at the intersection of Polk and Hope streets, Marietta fire spokeswoman Lindsey Wiles said.

Marietta police called the fire a “dangerous situation” and asked people who lived near the burning home to stay inside. Fire crews were able to bring it under control by 7 a.m.

“The occupants of the home, and their pets, are safe,” Wiles said, adding that the fire remains under investigation.