Officials were initially unsure about the need for the measures they eventually announced to shore up the financial system, but changed their minds quickly.WASHINGTON — On Friday afternoon, the deputy Treasury secretary, Wally Adeyemo, met with Jamie Dimon, the chief executive of JPMorgan Chase & Company, at Mr. Dimon’s office in New York.The Biden administration and the Federal Reserve were considering what would be the most aggressive emergency intervention in the banking system since the 2008 financial crisis, and the question the two men debated was at the heart of that decision.Could the failure of Silicon Valley Bank, the mega start-up lender that had just collapsed, spread to other banks and create a systemic risk to the financial system?“There’s potential,” Mr. Dimon said, according to people familiar with the conversation.Mr. Adeyemo was one of many administration officials who entered last weekend unsure of whether the federal government needed to explicitly rescue Silicon Valley Bank’s depositors before markets opened on Monday morning.In the White House and the Treasury, some officials initially saw the bank’s swift plunge to insolvency as unlikely to spark an economic crisis — particularly if the government could facilitate a sale of the bank to another financial institution.They quickly changed their minds after signs of nascent bank runs across the country — and direct appeals from small businesses and lawmakers from both parties — convinced them the bank’s problems could imperil the entire financial system, not just rich investors in Silicon Valley.On Friday morning, aides met with President Biden in the Oval Office, where they warned that the panic engulfing Silicon Valley Bank could spread to other financial institutions, according to a White House official. Mr. Biden told them to keep him updated on developments.By Friday afternoon, before financial markets had even closed, the Federal Deposit Insurance Corporation had stepped in and shut down the bank.Still, the kind of rescue that the United States ultimately engineered would not materialize publicly until Sunday, after intense deliberations across the government.This account is based on interviews with current and former officials in the White House, Treasury and the Fed; financial services executives; members of Congress; and others. All were involved or close to the discussions that dominated Washington over a frenzied process that began Thursday evening and ended 72 hours later with an extraordinary announcement timed to beat the opening of financial markets in Asia.The episode was a test for the president — who risked criticism from the left and the right by greenlighting what critics called a bailout for banks. It also confronted Treasury Secretary Janet L. Yellen with the prospect of a banking crisis at a moment when she had become more optimistic that a recession could be avoided. And it was the starkest demonstration to date of the impact that the Fed’s aggressive interest rate increases were having on the economy.Wally Adeyemo, deputy Treasury secretary, was initially unsure whether the government would need to intervene to rescue Silicon Valley Bank’s depositors. Andrew Harnik/Associated PressSilicon Valley Bank failed because it had put a large share of customer deposits into long-dated Treasury bonds and mortgage bonds that promised modest, steady returns when interest rates were low. As inflation jumped and the Fed lifted interest rates from near zero to above 4.5 percent to fight it over the last year, the value of those assets eroded. The bank essentially ran out of money to make good on what it owed to its depositors.By Thursday, concern was growing at the Federal Reserve. The bank had turned to the Fed to borrow money through the central bank’s “discount window” that day, but it soon became clear that was not going to be enough to forestall a collapse.Officials including Jerome H. Powell, chairman of the Fed, and Michael S. Barr, its vice chair for supervision, worked through Thursday night and into Friday morning to try to find a solution to the bank’s unraveling. By Friday, Fed officials feared the bank’s failure could pose sweeping risks to the financial system.Compounding the worry: The prospects of arranging a quick sale to another bank in order to keep depositors whole dimmed through the weekend. A range of firms nibbled around the idea of purchasing it — including some of the largest and most systemically important.One large regional bank, PNC, tiptoed toward making an acceptable offer. But that deal fell through as the bank scrambled to scrub Silicon Valley Bank’s books and failed to get enough assurances from the government that it would be protected from risks, according to a person briefed on the matter.A dramatic government intervention seemed unlikely on Thursday evening, when Peter Orszag, former President Barack Obama’s first budget director and now chief executive of financial advisory at the bank Lazard, hosted a previously scheduled dinner at the bank’s offices in New York City’s Rockefeller Center..css-1v2n82w{max-width:600px;width:calc(100% – 40px);margin-top:20px;margin-bottom:25px;height:auto;margin-left:auto;margin-right:auto;font-family:nyt-franklin;color:var(–color-content-secondary,#363636);}@media only screen and (max-width:480px){.css-1v2n82w{margin-left:20px;margin-right:20px;}}@media only screen and (min-width:1024px){.css-1v2n82w{width:600px;}}.css-161d8zr{width:40px;margin-bottom:18px;text-align:left;margin-left:0;color:var(–color-content-primary,#121212);border:1px solid var(–color-content-primary,#121212);}@media only screen and (max-width:480px){.css-161d8zr{width:30px;margin-bottom:15px;}}.css-tjtq43{line-height:25px;}@media only screen and (max-width:480px){.css-tjtq43{line-height:24px;}}.css-x1k33h{font-family:nyt-cheltenham;font-size:19px;font-weight:700;line-height:25px;}.css-1hvpcve{font-size:17px;font-weight:300;line-height:25px;}.css-1hvpcve em{font-style:italic;}.css-1hvpcve strong{font-weight:bold;}.css-1hvpcve a{font-weight:500;color:var(–color-content-secondary,#363636);}.css-1c013uz{margin-top:18px;margin-bottom:22px;}@media only screen and (max-width:480px){.css-1c013uz{font-size:14px;margin-top:15px;margin-bottom:20px;}}.css-1c013uz a{color:var(–color-signal-editorial,#326891);-webkit-text-decoration:underline;text-decoration:underline;font-weight:500;font-size:16px;}@media only screen and (max-width:480px){.css-1c013uz a{font-size:13px;}}.css-1c013uz a:hover{-webkit-text-decoration:none;text-decoration:none;}How Times reporters cover politics. We rely on our journalists to be independent observers. So while Times staff members may vote, they are not allowed to endorse or campaign for candidates or political causes. This includes participating in marches or rallies in support of a movement or giving money to, or raising money for, any political candidate or election cause.Learn more about our process.Among those in attendance were Mr. Adeyemo and a pair of influential senators: Michael D. Crapo, Republican of Idaho, and Mark Warner, Democrat of Virginia. Both were sponsors of a 2018 law that rolled back regulation on smaller banks that critics now say left Silicon Valley Bank vulnerable.Blair Effron, a large Democratic donor who had just been hired by Silicon Valley Bank to advise it on its liquidity crunch, was also there. Earlier that day, the bank had attempted to raise money to stave off collapse with the help of Goldman Sachs — an effort that, by Thursday evening, had clearly failed.The Federal Reserve ultimately opened a lending program to help keep money flowing through the banking system.Al Drago for The New York TimesMr. Effron and Mr. Adeyemo spoke as it became evident that Silicon Valley Bank was running out of options and that a sale — or some bigger intervention — might be necessary. Jeffrey Zients, Mr. Biden’s new chief of staff, and Lael Brainard, the new director of his National Economic Council, were also being pelted by warnings about the bank’s threat to the economy. As Silicon Valley Bank’s depositors raced to withdraw their money on Thursday, sending its stock into free fall, both Ms. Brainard and Mr. Zients began receiving a flurry of calls and texts from worried leaders in the start-up community that the bank heavily served.Ms. Brainard, who had experienced financial crises in other countries while serving in Mr. Obama’s Treasury Department and as a Federal Reserve Board member, had begun to worry about a new crisis emanating from SVB’s failure. She and Mr. Zients raised that possibility with Mr. Biden when they briefed him in the Oval Office on Friday morning.Other officials across the administration were more skeptical, worrying that the lobbying blitz Ms. Brainard and others were receiving was purely a sign of wealthy investors trying to force the government to backstop their losses. And there were concerns that any kind of government action could be seen as bailing out a bank that had mismanaged its risk, potentially encouraging risky behavior by other banks in the future.Ms. Brainard started fielding anxious calls again on Saturday morning and did not stop until late in the evening. She and Mr. Zients briefed Mr. Biden that afternoon — virtually this time, because the president was spending the weekend in his home state of Delaware.Mr. Biden also spoke Saturday with Gov. Gavin Newsom of California, who was pushing aggressively for government intervention in fear that a wide range of companies in his state would otherwise not be able to pay employees or other operational costs on Monday morning.Concerns mounted that day as regulators reviewed data that showed deposit outflows increasing at regional banks nationwide — a likely sign of systemic risk. They began pursuing two possible sets of policy actions, ideally a buyer for the bank. Without that option, they would need to seek a “systemic risk exception” to allow the F.D.I.C. to insure all of the bank’s deposits. To calm jittery investors, they surmised that a Fed lending facility would also be needed to buttress regional banks more broadly.“Because of the actions that our regulators have already taken, every American should feel confident that their deposits will be there if and when they need them,” President Biden said on Monday.Doug Mills/The New York TimesMs. Yellen on Saturday convened top officials — Mr. Powell, Mr. Barr and Martin J. Gruenberg, the chairman of the F.D.I.C.’s board of directors — to figure out what to do. The Treasury secretary was fielding back-to-back calls on Zoom from officials and executives and at one point described what she was hearing about the banking sector as hair-raising.F.D.I.C. officials initially conveyed reservations about their authority to back deposits that were not insured, raising concerns among those who were briefed by the F.D.I.C. that a rescue could come too late.By Saturday night, anxiety that the Biden administration was dragging its feet was bubbling over among California lawmakers.At the glitzy Gridiron Club Dinner in Washington, Representative Ro Khanna, a California Democrat, cornered Steve Ricchetti, a top White House aide and close adviser to the president, and urged Mr. Biden and his team to be decisive. He warned that many of Mr. Biden’s major achievements would be washed away if the banking system melted down.“I said, Steve, this is a massive issue not just for Silicon Valley, but for regional banks around America,” Mr. Khanna said, adding that Mr. Ricchetti replied: “I get it.”Privately, it was becoming clear to Mr. Biden’s economic team that banking customers were getting spooked. On Saturday evening, officials from the Treasury, the White House and the Fed tentatively agreed to two bold moves they finalized and announced late on Sunday afternoon: The government would ensure that all depositors would be repaid in full, and the Fed would offer a program providing attractive loans to other financial institutions in hopes of avoid a cascading series of bank failures.But administration officials wanted to ensure the rescue had limits. The focus, according to a person familiar with the conversation, was ensuring that businesses around the country would be able to pay their employees on Monday and that no taxpayer money would be used by tapping the F.D.I.C.’s Deposit Insurance Fund.It was a priority that the rescue not be viewed as a bailout, which had become a toxic word in the wake of the 2008 financial crisis. The depositors would be protected, but the bank’s management and its investors would not.By Sunday morning, regulators were putting the finishing touches on the rescue package and preparing to brief Congress. Ms. Yellen, in consultation with the president, approved the “systemic risk exception” that would protect all of the bank’s deposits. The bipartisan members of the Federal Reserve and the F.D.I.C. voted unanimously to approve the decision.That evening, they announced a plan to make sure all depositors at Silicon Valley Bank and another large failed financial institution, Signature Bank, were repaid in full. The Fed also said it would offer banks loans against their Treasury and many other asset holdings, whose values had eroded.“Because of the actions that our regulators have already taken, every American should feel confident that their deposits will be there if and when they need them,” Mr. Biden said during brief remarks at the White House.By Tuesday afternoon the intervention was showing signs of working. Regional bank stocks, which had fallen on Monday, had partially rebounded. The outflow of deposits from regional banks had slowed. And banks were pledging collateral at the Fed’s new loan program, which would put them in a position to use it if they decided that doing so was necessary.The financial system appeared to have stabilized, at least for the moment. More