Thousands were evacuated as destructive fires prompted the governor to declare emergencies in some parts of the state.