A vehicle rests in front of a home leveled by the Camp Fire on December 3, 2018, in Paradise, California. Pacific Gas & Electric shut off power to more than 1 million California customers on Wednesday to prevent wildfires caused by downed power lines. The Camp Fire was blamed on sparks from power lines that snapped in windy weather. (Noah Berger/AP)

California’s biggest power company shut off electricity to more than a million people Wednesday in the most sweeping effort in state history to prevent wildfires caused by windblown power lines.

The move came after two years of catastrophic fires sent Pacific Gas & Electric into bankruptcy and forced it to take more aggressive steps to prevent blazes.

The utility said it cut power to more than 500,000 customers in Northern California and that it plans to gradually turn off electricity to nearly 800,000 customers to prevent its equipment from starting wildfires during hot, windy weather. A second group of about 234,000 customers will lose power starting at noon, the utility said. The power outages are expected to affect about 2.5 million people.

Planned outages like these could become the new normal in an era in which scientists say climate change is leading to fiercer blazes and longer fire seasons.

The utility plans to shut off power in parts of 34 northern, central and coastal California counties to reduce the chance of fierce winds knocking down or toppling trees into power lines during a siege of hot, dry, gusty weather.

Gusts of 35 miles per hour to 45 miles per hour were forecast to sweep a vast swath of the state, from the San Francisco Bay area to the agricultural Central Valley and especially in the Sierra Nevada foothills, where a November wildfire blamed on PG&E transmission lines killed 85 people and virtually burned down the town of Paradise.

A helicopter makes a water drop in the Feather River Canyon, east of Paradise, California, during November’s Camp Fire. Scientists warn that climate change is leading to fiercer blazes and longer fire seasons. (Josh Edelson/Agence France-Presse via Getty Images)

The winds will be the strongest and most widespread the region has seen in two years, and given the scope of the danger, there was no other choice but to stage the largest preventive blackout in state history, PG&E said.

“This is a last resort,” said Sumeet Singh, head of the utility’s Community Wildfire Safety Program.

However, people should be outraged by the move, Governor Gavin Newsom said. “No one is satisfied with this; no one is happy with this,” he said.

The utility needs to upgrade and fix its equipment so massive outages are not the norm, he said.

It could take as many as five days to restore power after the danger has passed because every inch of power line must be checked to make sure it isn’t damaged or in danger of sparking a blaze, PG&E said.

To the south, Southern California Edison said more than 106,000 of its customers in parts of eight counties could face power cuts as early as Thursday as Santa Ana winds loomed.

Classes were canceled for thousands of kids and college students.

Hospitals would operate on backup power, but other systems could see their generators fail after a few days. Outages even posed a threat that fire hydrants wouldn’t work at a time of extreme fire danger.

Counties activated their emergency centers and authorities urged people to have supplies of water for several days, to keep sensitive medicines in cool places, to drive carefully because traffic lights could be out, to have a full gas tank and to check freezers and refrigerators for spoiled food after power is restored.