People were in danger as the fire took hold