Authorities on Wednesday arrested a man suspected of starting an illegal campfire believed to have ignited the blaze that has also damaged five homes.

It's one of many wildfires burning across the U.S. West, including blazes in and around California's Yosemite National Park that have closed a popular road into the park, shuttered the iconic Wawona Hotel and evacuated nearby towns. About 58 homes near the park were destroyed earlier this summer.

The fire near Oroville, about 70 miles (112 kilometers) north of Sacramento, had consumed nearly five square miles (13 square kilometers) and was 10 percent contained, the California Department of Forestry and Fire Protection said.

Three more communities were evacuated, and firefighters struggled to contain the fast-burning flames Wednesday as temperatures surged into triple digits. The U.S. West is struggling with heat that is making the battle against wildfires difficult.

Plus, record rains earlier this year that ended California's historic drought have produced more vegetation, which is fueling the fires.

Cal Fire investigators arrested John Ballenger, 29, of Oroville, on suspicion of starting an illegal campfire. He was taken to jail, and records don't show whether he is represented by an attorney.

"All campfires pose a risk of escaping," Cal Fire spokesman Darren Read said. "A campfire should never be left unattended and must be extinguished completely before everyone leaves."

The wildfire is about 20 miles (32 kilometers) east of Oroville Dam. Tens of thousands of residents downstream fled in February when the dam's spillways crumbled and led to fears of catastrophic flooding. Waters receded before they breached the dam, and water officials said repairs are 20 percent complete.

Months later, a wildfire about 15 miles (24 kilometers) south of the dam destroyed 41 homes.

Meanwhile, about two dozen fires are burning in Oregon, leading to more than 4,500 evacuations. The area burning in the state is roughly equivalent to half the state of Rhode Island. The largest fire is only partially contained after lightning ignited it in mid-July.

Smoke from all the blazes has converged on Portland, several hundred miles away. The smoke has obscured the iconic view of Mount Hood and triggered air quality warnings.

In Montana, authorities have ordered about 1,000 homes and businesses to evacuate near Seeley Lake, a popular destination for boaters, anglers and hikers about 100 miles (161 kilometers) northwest of Helena.

In Glacier National Park, smoke from wildfires has led officials to close the historic Lake McDonald Lodge for the season. Earlier this month, the backcountry Sperry Chalet shut down because of the same fire.