Spain's conservative government and the main opposition Socialists agreed on Wednesday to devise and adopt urgent measures to deal with a growing wave of mortgage foreclosures.

Once decided on, the plan could take the form of a royal decree or a bill submitted to Parliament, Deputy Prime Minister Soraya Saenz de Santamaria and Socialist No. 2 Elena Valenciano said in separate statements.

Six experts - three named by Prime Minister Mariano Rajoy's administration and three appointed by the opposition - will begin negotiations next Monday in pursuit of a consensus on ways to help families remain in their homes, the leaders said.

Valenciano and Saenz de Santamaria will oversee the work of the experts group.

Foreclosures and evictions are soaring amid a jobless rate of more than 25 percent and the fallout from the collapse of a long-building housing bubble that left many Spanish banks saddled with toxic assets and created an overhang of unsold homes.

Regulations enacted in March by the Rajoy government include a banking Code of Good Practices aimed at eliminating abuses of mortgage-holders.

During the second quarter, Spanish courts received 18,886 requests from lenders to boot delinquent borrowers from their homes and issued 29,275 eviction orders. EFE