The European Commission cleared on Wednesday the restructuring plans of four Spanish banks — Bankia, NCG Banco, Catalunya Banc and Banco de Valencia — as part of a major overhaul of the country’s stricken banking sector. The Commission said the restructuring of the four banks “will allow them to become viable in the long-term without continued state support” while the plans contain provisions to limit distortions to competition. Banco de Valencia, whose independent future could not be secured, will be sold and integrated into CaixaBank, the Commission said in a statement. Spain secured funding of up to 100 billion euros from its eurozone partners in June to help rescue its banks which have been brought to their knees by a mountain of bad debt built up in a property bubble which burst in 2008. At that stage it looked as though Spain might need a full, sovereign debt bailout accord on top but since then Madrid has weathered the storm and Prime Minister Mariano Rajoy has resisted pressure to ask for further help. Wednesday’s decision clears the way for the banks to receive aid from the European Stability Mechanism (ESM), the new eurozone defence system which formally became operational last month. “The approval ... is a milestone in the implementation of the (accord) ... Our objective is to restore the viability of banks receiving aid so that they are able to function without public support in the future,” European Competition Commissioner Joaquin Almunia said in the statement. “Restoring a healthier financial sector capable of financing the real economy is indispensable for economic recovery in Spain” Almunia added. Spanish Finance Minister Luis De Guindos said Monday that the first payment to recapitalise the banking system would be some 37 billion euros ($50 billion). The Commission said that Bankia, the giant group at the the heart of Spain’s financial crisis and already bailed out by Madrid, would get 36 billion euros in all when the eurozone programme is also taken into account. NGC would get 10 billion euros, Catalunya Banc 14 billion euros and Banco de Valencia 7.0 billion euros.