In Spain, for example, local savings banks (cajas) financed an outsize real-estate boom. As the boom turned to bust, the losses threatened to overwhelm the capacity of the Spanish state, and the problem became European, because it threatened the very survival of the euro.