Spain's prime minister said Monday the government will likely present this week new measures to help banks, a key source of worry over whether the country might need a financial bailout.
Mariano Rajoy gave no details but said he would not rule out lending or injecting government money into the sector if necessary.
"The last thing I would do would be to inject or lend public money but if it is necessary I would not hesitate to do it, just as other European countries have done," Rajoy told Onda Cero radio in an interview.
He said the measures would almost certainly be presented after Friday's weekly Cabinet meeting.
Spain's real estate bubble burst in 2008, saddling banks with enormous amounts of bad loans as unemployment rose and people could not pay their mortgages. The Bank of Spain says the sector has about (EURO)175 billion ($230 billion) in "problematic" holdings.
The government was preparing to help out troubled lender Bankia SA, Spain's fourth biggest bank, according to El Pais newspaper. Bankia is considered to be among the worst hit by the real estate collapse with more than (EURO)30 billion ($40 billion) in toxic assets.
Hours after Rajoy spoke, Bankia President Rodrigo Rato, a former managing director for the International Monetary Fund between 2004-2007, announced his resignation. He said he finished his task of restructuring the bank.
A former conservative economy minister for Spain, Rato took over leading savings bank Caja Madrid in 2010 and oversaw its merger with six other entities to form Bankia last year. The group's restructuring brought about the closure of 800 bank offices and major layoffs.
Bankia's shares were down nearly 4 percent at (EURO)2.4 ($3.1 dollars)in trading in Madrid following the announcement.
The government has forced banks to strengthen their finances by merging and setting aside some (EURO)50 billion ($66 billion) more in provisions this year to cover toxic assets.
The Economy Ministry last week said Spanish banks were studying the creation of a separate entity _ a "bad bank" _ to take on these assets, such as failed loans on property.
Spain is at the center of Europe's debt crisis with investors concerned about its ability to push through austerity measures and reforms at a time of recession and with unemployment above 24 percent.
The measures are aimed chiefly at slashing the government's deficit from 8.5 percent of economic output to below the maximum level set by the European Union of 3 percent by 2013. For this year, the goal is 5.3 percent.
(This version CORRECTS that Rato finished at IMF in 2007, not 2207)