Spain and Senegal have agreed to promote legal migration to Spain in an attempt to stem an illegal influx
Spanish Foreign Minister Miguel Angel Moratinos signed the accord during a visit to the Senegalese capital Dakar.
The deal would discourage illegal migration and give Spain the opportunity to recruit a significant number of workers, Mr Moratinos said.
More than half of the 26,000 migrants who have reached the Spanish Canary Islands this year come from Senegal.
Mr Moratinos also signed a co-operation deal that will give Senegal up to 15m euros (£10.3m) of Spanish aid annually over five years.
Is there no end to Spanish stupidity?
Gambia - new front in migrant trade