In 1975, just after Mozambique had won its independence from Portugal after a bitter struggle, a quarter of a million Portuguese settlers fled the country. Fearful for their lives, but also without prospect of a livelihood, the mother country was a safer bet.
Now, nearly 40 years later, the flow is reversing.
With Portugal staggering economically, many now see the country’s former colony as holding out more prospects than home.
Businessman Paulo Dias tells a story that is increasingly common.
He moved to Mozambique in 2010 after the financial crisis in Portugal convinced him that his future lay elsewhere.
“I decided to leave because I felt the situation in Europe was catastrophic,” says the 42-year-old, who now lives in the capital, Maputo.
In Portugal, Mr Dias ran a company marketing cruise trips. But, after months of struggling, he shut it down.
Within a year he had relocated to Mozambique, where he set up a business building prefabricated houses.
“It was a fresh start and the best decision I ever made,” he says.
Henrique Banze, Mozambique’s deputy foreign minister, says about 200 tourist and working visas are being granted every day, marking a “huge increase” on recent years.
“In the last two years there have been many more Portuguese coming,” he says adding: “I suppose it must be to do with the crisis in Portugal.”
It is difficult to get firm figures for the influx, but Mr Banze says it is clear that thousands of Portuguese people are relocating each year.
The vast majority - around 20,000, according to some reports - base themselves in Maputo, where the majority of business opportunities exist.
“A tsunami hit Portugal and now everyone is coming here,” says Mr Dias. “I don’t believe the economic situation in Portugal will improve within the next five years.”
Two years ago, when he arrived, most of his countrymen in Mozambique were manual labourers. Now, he says, the middle classes are moving in.
Some, he says, are working for large mining companies with operations in Mozambique. Others, like him, come to set up their own businesses.
Mr Dias’ new life is not without challenges.
He says the cost of living is high and he struggled during the first year in his new home until he established a partnership with a local businessman who provided the patronage needed to broker deals.
But he has seen his business grow, working on a range of projects from social housing to homes for employees of mining companies.
A few years ago, the thought of moving to one of Africa’s poorest country in search of work would have seemed unthinkable for most Portuguese, particularly given the bitter legacy of the colonial period.
But Mozambique is changing and times are hard in Portugal.
At more than 17%, its jobless rate is among the highest in the eurozone.
And if there were any doubts of where future opportunities lay, Portugal’s Prime Minister Pedro Passos Coelho sent a stark message in 2011.
He told unemployed teachers in Portugal to emigrate, urging them to leave their comfort zone and move to Portuguese-speaking countries like Brazil and another former African colony, Angola.