
Audio By Carbonatix
More than 500,000 Somali refugees in Kenya are to be given the opportunity to return home after the UN refugee agency signed a tripartite agreement with the two countries' governments.
Under the agreement, the Somalis will be repatriated voluntarily over the next three years.
The Somalis have sought refuge in Kenya from war and poverty.
Two of the camps they live in, Dadaab and Kakuma, are now so large they are more like towns, correspondents say.
There is also a suburb of the capital, Nairobi - Eastleigh - that is known as "Little Mogadishu" because so many Somalis live there.
'Terrorism threat'
The refugees fled Somalia after the collapse of the central government in 1991.
Many of them were born in camps and have never set foot inside their home country.
The two governments and the UN hope to introduce a reintegration programme to help the refugees start new lives in Somalia and take part in the reconstruction of the country.
Somalia's Deputy Prime Minister Fowsia Yusuf Adam said her country was preparing for the safe return of its refugees.
"Terrorism is still a major threat to our region. The federal republic of Somalia is committed to creating conditions that will allow for the safe and dignified voluntary repatriation of the Somali refugees in Kenya and other neighbouring countries."
The United Nations refugee agency (UNHCR) said refugees would decide whether they wanted to return.
"No-one wants to see refugees go home and have to flee again, or become displaced inside Somalia," said Alessandra Morelli, the UNHCR representative for Somalia.
Somalia's ambassador to Kenya, Mohammed Ali Nur, told the BBC the agreement would be implemented over three years.
It gave refugees the chance to rebuild their lives, he said.
"They can't be begging... for food all their lives," he told the BBC's Newsday programme.
The BBC World Service's Africa editor, Richard Hamilton, says the main problem with the agreement is that most of the refugees know that Somalia is still not safe and probably would not want to return.
Our correspondent says that, while Kenya has been praised for offering help to a neighbour in need, the country is becoming disgruntled with having to bear the burden of the refugee population.
Kenya's Deputy President William Ruto says refugees have become a shield for those who pose a security threat to Kenya.
Kenya has been concerned about further threats of terrorism following the attack by suspected Somali militants on the Westgate shopping mall in Nairobi in September.
The Somali Islamist al-Shabab group - which is linked to al-Qaeda - said it was behind the attack.
It said it was taking revenge after Kenya sent troops into Somalia to help the UN-backed government seize territory from militants.
Latest Stories
-
Africa pushes integrated health agenda ahead of One Health Summit in Lyon
24 minutes -
We own the strategy, its not head office decision – GCB MD positions bank as engine of Ghana’s economy
34 minutes -
No more waiting for head office – GCB boss pushes Ghana-first banking
55 minutes -
Mahama lauds Julius Debrah for shaping Kwahu Business Forum
1 hour -
Why actors beg in difficulty – Patience Ozokwor on Nollywood financial struggles
1 hour -
Any man who apologises to woman deserves to suffer – Brymo
2 hours -
Nigerian artistes no longer put effort into making music – Omah Lay claims
2 hours -
‘I’m now skeptical about going into politics’ – Davido
2 hours -
Nigeria’s Seplat Energy resumes operations as oil workers halt strike action
2 hours -
Nigeria launches manhunt after abductions by bandits in northwest Zamfara
2 hours -
Kenya fuel executives resign as state probes supply chain irregularities
2 hours -
Senegal bans ministers from foreign travel as oil price rise bites
3 hours -
Nigerian army rescues 31 hostages after church attack
3 hours -
Spain’s huge pork industry seeks salvation from swine fever threat
3 hours -
Trump declares victory after rescue but threats to US operation in Iran still loom
3 hours