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".
19/10/2017 05:37:00:-Thousands of Somalis have demonstrated against those behind the bombing that killed more than 300 people at the weekend, defying police who opened fire to keep them away from the site of the attack.
17/10/2017 11:09:00:-On Saturday morning, Maryam Abdullahi Gedi made breakfast for her family, packed her books and laptop and set out across Mogadishu, the battered capital of Somalia, to see her supervisor at Banadir University about her thesis. She was excited about the prospect of her graduation as a medical doctor this week.
15/10/2017 17:38:00:-The death toll from twin truck bombings in Somalia’s capital rose to more than 200 on Sunday, officials said, as emergency crews pulled more bodies from burned cars and demolished buildings after the Saturday blasts.
13/10/2017 06:09:00:-The Somali musician Hassan-Nour Sayid — known by his stage name, Aar Maanta — and his band, the Urban Nomads, were supposed to be in Minnesota last week, where they were to kick off a monthlong internship of performances and workshops set up through the Cedar Cultural Center in Minneapolis.