Banking regulators announced an emergency measure on Sunday to fully protect deposits at Silicon Valley Bank, a critical move in averting a panic over the bank’s collapse.

U.S. Treasury Department, the Federal Reserve, and the FDIC have revealed the plan in a joint statement.

“Today we are taking decisive actions to protect the U.S. economy by strengthening public confidence in our banking system,” the statement read.

Treasury Secretary Janet Yellen, after conferring with the president and regulators, has authorized the plan that “fully protects all depositors.”

“Depositors will have access to all of their money starting Monday, March 13.  No losses associated with the resolution of Silicon Valley Bank will be borne by the taxpayer,” according to the statement.

“Shareholders and certain unsecured debtholders will not be protected. Senior management has also been removed. Any losses to the Deposit Insurance Fund to support uninsured depositors will be recovered by a special assessment on banks, as required by law.”

Regulators also announced a similar measure for New York-based Signature Bank, which was closed on Sunday by the state chartering authority.

“All depositors of this institution will be made whole,” the joint statement said.

“All depositors of this institution will be made whole,” the joint statement said.