(Reuters) - PG&E Corp PCG.N Chief Executive Geisha Williams has stepped down, the company said on Sunday, as pressure from potentially crushing liabilities linked to catastrophic wildfires have pushed the California utility owner to the financial brink and prompted it to make bankruptcy preparations.

FILE PHOTO: PG&E works on power lines to repair damage caused by the Camp Fire in Paradise, California, U.S. November 21, 2018. REUTERS/Elijah Nouvelage/File Photo

Williams, who took the helm of the provider of electricity and natural gas to millions of customers in March 2017, will be replaced by General Counsel John Simon on an interim basis, the company said. She also resigned from the boards of both PG&E and its utility subsidiary, Pacific Gas and Electric Co.

“While we are making progress as a company in safety and other areas, the Board recognizes the tremendous challenges PG&E continues to face. We believe John is the right interim leader for the company,” PG&E Chairman Richard Kelly said in a statement. “Our search is focused on extensive operational and safety expertise, and the board is committed to further change at PG&E.”

PG&E is reeling from the November Camp fire that began in the California mountain community of Paradise and swept through the town, eventually killing at least 86 people in the deadliest and most destructive blaze in state history.

The company faces widespread litigation, government investigations and liabilities that could potentially reach $30 billion, according to analyst estimates, when accounting for the carnage and damage from last year’s fire and blazes in 2017.

The company is under pressure from the California Public Utilities Commission to make operational changes. The power provider announced on Jan. 3 that it was reviewing its structural options and looking for new directors with safety experience.

The management shake-up comes as PG&E is in discussions with banks for a multibillion-dollar bankruptcy financing package to aid operations during bankruptcy proceedings and the company prepares to alert employees as soon as Monday to its preparations for a potential Chapter 11 court filing, people familiar with the matter said.

PG&E, which carries a hefty debt load of more than $18 billion, is expected to disclose soon a large financial charge related to liabilities resulting from the November blaze.

The employee-notification plans are not yet finalized and a communication could come later, the sources said. State law requires PG&E to notify employees at least 15 days before any bankruptcy filing.

For PG&E, a bankruptcy filing would represent a last resort if the company is unable to get government relief that would allow it to pass on liabilities to customers, a maneuver enacted into law to help the company grapple with 2017 fires, the sources added. California lawmakers have not yet moved to pass legislation that would give PG&E similar flexibility for the 2018 blazes.

California Governor Gavin Newsom said last week he was having discussions with PG&E executives, and that he wanted a healthy utility investing in environmentally friendly strategies.

“That’s in an ideal world,” he said. “That’s not the case today.”

PG&E said in November it could face “significant liability” in excess of its insurance coverage if its equipment was found to have caused the Camp fire in Northern California. Both Moody’s and S&P have cut PG&E’s credit rating deeper into junk territory, citing a challenging environment for the power provider related to the wildfires and the need for dramatic intervention from state officials.

Companies negotiate debtor-in-possession loans, often with existing lenders, when they are seriously considering bankruptcy protection so they can continue operations while working through court proceedings.

PG&E’s bankruptcy financing, should it be needed, could total between $3 billion and $5 billion, although the exact figure remains in flux and could end up being higher, said people familiar with the discussions.

If it seeks bankruptcy protection, the new money could prove critical for PG&E, which spends roughly $6 billion annually.