Spain is kicking against the prevailing political mood among Western nations when it comes to migration and policies regarding the African continent.
At a time when the US, the UK, France and Germany are all cutting back their development aid budgets, Madrid remains committed to continued expansion, albeit from a lower starting point.
This week, the Spanish capital has been hosting an African Union-backed 'world conference on people of African descent.' AfroMadrid2025 will discuss restorative justice and the creation of a new development fund.
It is just the latest sign of how Spain's socialist-led government is seeking to deepen and diversify its engagement with the continent and near neighbour that lies just a few kilometres to the south, across the Straits of Gibraltar.
In July, Foreign Minister José Manuel Albares launched a new advisory council of prominent intellectual, diplomatic and cultural figures, more than half of them African, to monitor the delivery of the detailed Spain-Africa strategy that his government published at the end of last year.
New embassies south of the Sahara and partnerships in business and education are planned.
The contrast between Spain's approach and that of others in the West is not just in spending but in tone and mindset – and nowhere more so than in dealing with migration.
Similar to elsewhere in Europe, Prime Minister Pedro Sanchez is looking for ways to contain the influx of irregular arrivals.
Like other centre-left and centre-right leaders, he finds himself facing an electoral challenge from the radical right, largely driven by some voters' concern over migration, with the hardline Vox party well established in parliament and routinely ranking third in opinion polls.
In July, extra security forces had to be deployed against racist thugs roaming the streets of Torre Pacheco, in Murcia region – where many Africans work in the booming horticultural sector – after three Moroccans were accused of beating a pensioner.
While the opposition conservative People's Party remains favourable to some immigration, but for cultural reasons wants to prioritise Latin Americans rather than Africans, Vox has been more radical.
Responding to the Murcia incident, Vox called for a crackdown on immigrants taking up less skilled jobs. The message largely targeted Africans working in fruit and vegetable production, now so crucial to the southern Spanish economy.
But for the government, the migration presents challenges that are as much practical as political.
More than 45,000 people made the perilous sea crossing from Africa's west coast to the Spanish archipelago of the Canary Islands last year. Estimates of those who died while making the attempt range between 1,400 and a staggering 10,460.
In contrast to the hostile messaging that emanates from many European capitals, the Sanchez government openly acknowledges the hard economic realities in West Africa that push people to risk their lives in effort to reach Europe.
Spain is developing creative alternatives that foster movements of people that are 'safe, orderly and regular.' On his trip to Mauritania last year, Sanchez stressed the contribution that migrants make to the Spanish economy.
'For us, the migratory phenomenon is not only a question of moral principles, solidarity and dignity, but also one of rationality,' the prime minister said.
The Spanish government funds training schemes for unemployed youth in countries such as Senegal, especially for irregular migrants who have been sent back, to help them develop viable new livelihoods back home.
This outreach has also included expanding a 'circular migration' programme that gives West Africans short-term visas to work in Spain during peak seasons and then return to their home countries.
Spain's Africa strategy emphasizes education, youth employment, and security cooperation, alongside cultural promotion and the support of democratic values.
With pressures mounting, Spain's distinctive approach to migration and development signals a renewed commitment to fostering positive relations with Africa, aiming to benefit both parties in the long term.