California faces a projected budget deficit of $22.5 billion for the coming fiscal year, Gov. Gavin Newsom announced Tuesday, just days into his second term. It’s a sharp turnaround from last year’s $98 billion surplus.

The deficit, while unsurprising, could signal the end of a decade’s worth of economic growth in the nation’s most populous state.

Newsom, a Democrat, is proposing to close the hole by delaying spending in some areas and changing how others are funded. His budget appears to avoid significant cuts to most major programs, although it does lower proposed spending on climate change initiatives by about $6 billion. The state hopes to restore that spending in 2024 or offset it with federal money.

Among his climate maneuvers: He’ll shift $4.3 billion in spending on zero-emission vehicles from the state’s taxpayer-funded general fund to a special fund paid into by polluters. He’s also delaying by a year $3.1 billion in climate and transportation funding.

The state still has about $35.6 billion in reserves.

Newsom stressed that California would continue robust spending in public and higher education, climate change, health care, and responding to drought and wildfire.

“We’re keeping our promises,” the governor said.

Newsom’s presentation offers the first glimpse of his spending and policy priorities as he launches his second term, but it’s not the final say on how the state will dole out money. He’ll reassess the state’s finances in May after tax revenue has come in, and he’ll sign a final budget in June.

His proposed budget isn’t all cuts — Newsom wants to give an additional $1 billion to local governments to combat homelessness, although he wants more accountability from local leaders. In the fall, he threatened to withhold funding for such programs. He’s also proposed spending more on cash assistance programs for low-income and disabled Californians.

Other ways he’s closing the spending hole including pulling back on $3 billion designed to help the state deal with inflation.

Newsom has been warning of a potential budget shortfall for more than a year, and the Legislative Analyst’s Office said in November the shortfall could be around $25 billion.

In September, Newsom publicly scolded lawmakers for sending him dozens of bills that, when added together, would have allowed billions in new spending. Newsom vetoed those bills, saying he has “made it crystal clear that we are seeing economic headwinds.”

Dealing with a deficit will be a change of pace for the state, where spending has more than doubled in the 10 years since the last recession. Officials have launched a dizzying amount of new programs and services — including committing to pay for all 4-year-olds to go to kindergarten and agreeing to cover the health expenses of all low-income immigrants who are living in the country without legal permission.

The money has come mostly from a soaring stock market that launched a parade of California-based tech companies. Those companies — including the likes of Uber, Airbnb, Lyft and Pinterest — made lots of people very rich, creating a new class of millionaires and billionaires in a state with a progressive tax code where nearly half of all income taxes come from the top 1% of earners.

Sine then, lots of economic factors — led by runaway inflation, supply chain disruptions and Russia’s invasion of Ukraine — have had a chilling effect on the economy. The S&P 500, a key indicator of the health of U.S. stock markets, has fallen more than 18% since its peak at the end of 2021.

With rich people not making as much money, they are paying less in California state taxes. So far this year, California’s tax revenues have been $4.6 billion below expectations — not including some one-time corporate tax payments that state officials say they can’t count on.

Money from capital gains taxes is projected to be about 5.5% of the state’s revenue, down from 9.75% last year, Newsom said.

Still, California appears to be well-positioned to weather an economic downturn. Of the $131 billion in general fund surpluses the state has had in the past four years, most of it — about $80 billion — has paid for things that do not require ongoing funding, like construction projects. Just $10 billion of surplus spending has paid for ongoing commitments, according to the Legislative Analyst’s Office.

Plus, the state has $37.2 billion stored across its various savings accounts, which by itself would be more than enough to cover a $25 billion deficit. Constitutional limits prevent lawmakers from emptying reserves to cover a deficit. And unlike the federal government, California’s budget must be balanced. Newsom and lawmakers will have to tighten state spending to cover all of the shortfall — something that Senate Budget Committee chair Nancy Skinner said is doable.

“We funded things at such record levels, and a lot of the programs that we funded haven’t even gotten going yet, so we still have room to make some adjustments if needed,” she said. “I’m very optimistic because we’re in good shape.”

Assemblymember Phil Ting, a Democrat from San Francisco and chair of the Assembly Budget Committee, said he thinks the deficit can be easily managed by state officials. He thinks the state is in for a “softer landing” than it had at the start of the last recession in the late 2000s.

“What we expect (on Tuesday) is a vision of how we protect all the amazing things we funded,” Ting said. “Things are definitely slowing down.”