The Ajuran Empire received assistance from Ottomans, and with the import of firearms through the Muzzaffar port of Mogadishu, the army began acquiring muskets and cannons.
Over the course of the 16th century, Somali-Portuguese tensions would remain high and the increased contact between Somali sailors and Ottoman corsairs worried the Portuguese, who in 1542 sent a punitive expedition against Mogadishu led by João de Sepúvelda.
The election was welcomed by the Turkish authorities, who re-affirmed Turkey's continued support for Somalia's government, its territorial integrity and sovereignty.
[19] In January 2015, Mohamud and Erdoğan concurrently inaugurated a number of new Turkish-built development projects in Somalia, including the Digfer Hospital in the capital.
The 13,500 square-meter indoor premises includes 20 incubators, 14 newborn intensive care beds, 12 intensive care beds, 4 operating rooms, a delivery room, and laboratory and radiology units, with general surgery, neurosurgery, plastic surgery, children, maternity, urology, internal medicine, anesthesia, dental and ocular departments.
This diplomatic achievement underscores Turkey's growing influence in the Horn of Africa, as it continues to strengthen political and economic ties with both nations.
[25] In May 2010, the Somali and Turkish governments signed a military training agreement, in keeping with the provisions outlined in the Djibouti Peace Process.
Outlining training, technical and scientific cooperation, the treaty includes joint-service exercises between both national militaries and exchanges of delegations and personnel.
Additionally, the agreement includes provisions for the mutual exchange of information vis-a-vis military history, publications and museology.
[16] In October 2013, Somalia's federal Cabinet endorsed an agreement with the Turkish firm Al-Bayrak to manage the Port of Mogadishu for a 20-year period.
The Turkish company's head Ahmed Salim indicated that under the terms of the agreement, 55% of revenue generated at the seaport will go to the Somali authorities and the remaining 45% is earmarked for the firm.
[28] The majority of Al-Bayrak's revenue share will in turn be re-invested in the seaport through additional port-based trade and new docks, construction materials and machinery.
[29] According to Somalia's Minister for Transports and Seaport Yussuf Maolim Amin, the management transfer is expected to double the federal authorities' income from the Port.
[28] In February 2014, Somali Army Chief of Staff Brigadier General Dahir Adan Elmi signed a follow-up military agreement in Mogadishu with a delegation from the Turkish Ministry of Defense.
The pact stipulates that the government of Turkey will soon launch a training regimen in Somalia for a portion of the Somali National Army.
The accord stipulates that the institution will be funded for its first five years by the Turkish Ministry of Health, which will likewise provide professional specialists.
[32] On April 13, 2013, Somali President Hassan Sheikh Mohamud resumed reconciliation talks between the central government in Mogadishu and the regional authorities in Hargeisa.