Bad debt held by Spanish banks topped €100 billion ($129 billion) for the first time in May, as more companies filed for bankruptcy and unemployment continued to rise amid the economic downturn.Loans that are at least three months past their due date totaled to €100.37 billion in May, up from €99.89 billion in April, and from €86.74 billion a year earlier, according to data published by the Bank of Spain on Monday. The May figure equates to 5.5% of total loans, roughly the same as in April.The data also showed that credit is still being sucked out of Spain's economy as banks become choosier about who they lend to. Total loans were down 2% from a year earlier at €1.818 trillion from €1.860 trillion.Spain during the decade-long construction and real-estate boom came to rely heavily on financing from abroad to finance its strong growth. That trend was quickly reversed when the housing bubble bust and the economy fell into recession two years ago."The economy needs to continue to deleverage," said Laura Velasco, an economist with Banesto Bolsa in Madrid. "Banks need to refocus their lending activity to sectors other than construction, and they have to weigh the risks carefully when they do give loans."Spanish bank executives until recently said they expected bad loans to peak this year. However, last week Banco Español de Crédito SA Chairwoman Ana Patricia Botín said that she expects the peak to come some time next year. Most Spanish banks will report second-quarter results later this month."Banks are likely to continue recognizing more loan losses going forward," said Ms. Velasco. The rise in May was, however, well within market expectations, she said.The sector's nonperforming-loan ratio is at a 15-year high as Spain's banks digest a wave of defaults that accompany rising unemployment and a deflating housing bubble. According to the latest data on corporate failures from the National Statistics Institute, or INE, one out of every three companies that filed for bankruptcy in Spain in the first quarter were construction or real-estate companies. Some 1,623 companies sought protection from creditors in Spain in the first quarter.