Spanish bank Banco Popular has been rescued from the brink of collapse by larger rival Santander for one euro.
Buying Banco Popular will cost Santander 7bn euros (£6.1bn) – around 2bn euros more than analysts had expected.
Banco Popular was described by the European Central Bank (ECB) as “failing or likely to fail” due to its dwindling cash reserves.
The bank has struggled after billions in property investments turned sour.
The ECB said: “The significant deterioration of the liquidity situation of the bank in recent days led to a determination that the entity would have, in the near future, been unable to pay its debts or other liabilities as they fell due.”
Banco Popular bosses have spent the last few months attempting to shore up the bank’s balance sheet by selling various assets.
A bidding process for Banco Popular ended last month, but started to look shaky as a handful of institutions pulled out.
Santander chairman Ana Botin said it was a good deal for the bank.
“The combination of Santander and Popular strengthens the group’s geographical diversification at a time of improving economic conditions in both Spain and Portugal.”
Banco Popular unveiled a 3.5bn euro loss last year as bosses continued to struggle to deal with nearly $40bn (£31bn) of toxic property loans.
Read more at BBC.co.uk