SEOUL, South Korea — Wildfires fanned by strong winds raged through hills and villages along the northeastern coast of South Korea on Thursday night and Friday morning, scorching hundreds of homes and forcing thousands to evacuate as the government declared a national disaster.

By Friday afternoon, tens of thousands of firefighters, police officers and soldiers had managed to contain the largest fires, which left at least one person dead, officials said.