Turkey will join the fight to defeat Somalia's al-Qaeda faction by building its largest ever military base abroad in the East African country.
The $50 million base in Mogadishu will open in April and will help the Somali government train 500 new troops a year to fight al-Shabaab rebels.
An on-going war with the Islamist group, al-Shabaab, coupled with a nearly three-year drought has almost crippled the country's economy - leading to the present day's famine.
The facility is reported to be around 400 hectares in size and will house three military camps close to Mogadishu's airport and the Port of Mogadishu.
Turkey has reportedly invested massively in Somalia through reconstruction and infrastructure development - including roads and hospitals - and has helped provide military aid since 2011.
Turkey had planned to train and rebuild the Somali army at the Mogadishu base for years, as troops have reportedly not been professionally trained or routinely received salaries - leading to major security problems in the country.
Turkey faces regional competition in the region from the UAE, which also wants to build up its military presence in the region.
The UAE signed a deal with the Somaliland parliament in February, allowing them to open a military base in the port town of Berbera.
"The military deal with UAE is a clear sovereign matter to reach international agreements with countries and will help our long running bid for recognition as an independent country," said chairman of the political party UCID, Faysal Ali Warabe Warabe.
The UAE recently expanded its military presence in neighbouring Eritrea, to allow more military ships and aircraft to be based in the port of Assab.
There has been plenty of help for Somalia coming from Turkey in recent weeks.
Turkish Airlines announced on Friday it would send a plane filled with aid to help the millions of people that are facing starvation.
Celebrities and social media users, united under the hashtag #TurkishAirlinesHelpSomalia, raised money in support of famine victims in the country.
"As the only airline that connects Somalia to the world, we'll be more than happy to deliver your love and assistance to Somalia on your behalf," one Turkish Airlines pilot said in a video message posted on Twitter on Friday.
A lingering drought has caused widespread food shortages across the south of Somalia, leading to an impending famine status.
UNICEF warned last month that a potential 270,000 children were at risk of severe acute malnutrition due to the drought.
The Somali prime minister tweeted on 2 March that his "priority and first emphasis" was to "assist the people affected by the severe drought and build resilience".
12/06/2017 16:32:00:-The U.S. military in Africa says it carried out an airstrike in southern Somalia that killed eight Islamic extremists at a rebel command and logistics camp, 185 miles southwest of Mogadishu, the capital.
10/06/2017 12:13:00:-Efforts to bring back Hamid Juneja, an injured Kutchi sailor, from Somalia went in vain as he succumbed to injuries on Friday. His family members, who lost their sole bread winner, gave their consent to have his last rites performed in Somalia because neither can they go there nor afford to bring his body home.
08/06/2017 16:46:00:-The latest diplomatic spat in the Middle East, over Qatar’s alleged ties to terrorism, risks engulfing and destabilizing Somalia, a war-torn Horn of Africa nation struggling to bolster its own fragile democracy after decades of civil war.