Somali president, Mohamed Abdullahi Farmajo paid a visit to officials from Somali national army training in Kambamba military academy in central Uganda on Tuesday.
More than 100 officers are undergoing training provided by Ugandan peoples defense forces (UPDF) as part of an effort to help the Somali government rebuild its armed forces.
The Somali officers who are set to conclude their training mid this year thanked the president for the rare visit.
Somali head of state said he is looking forward to the return of the officers to take part in the joint operation against the armed group al-Shabaab.
The president reiterated his government's commitment to security under his leadership.
Mohamed Abdullahi Farmajo is scheduled to present his closing speech at the ongoing Africa peace, integration and economic development in Kampala on Wednesday.