Utility company PG&E said on Friday it has reached an $11 billion settlement agreement with entities representing about 85 percent of insurance subrogation claims relating to 2017 and 2018 wildfires.

PG&E was blamed for igniting several wildfires caused by downed power lines that killed dozens and destroyed thousands of homes.

The company said these claims were based on payments made by insurance companies to individuals and businesses with insurance coverage for wildfire damages.

PG&E filed for bankruptcy earlier this year citing billions of dollars in expected losses, mostly from lawsuits filed by individual fire victims, businesses and insurance companies.

Shares in PG&E were up 10 percent in premarket trading on Friday.