CIARAN GILESMADRID (AP) â¿¿ 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 â¿¬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 â¿¬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 â¿¬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 â¿¬50 billion ($66 billion) more in provisions this year to cover toxic assets.