In Spain, the government declared a state of emergency in the Madrid region, where more than 10,000 people have been evacuated in recent days.