The Somali soldier who shot dead the country's youngest-ever cabinet minister last month has been convicted to death by firing squad.
Abas Abdullahi Siraji was in his car near the presidential palace in Mogadishu when he was killed by Ahmed Abdullahi Abdi, who reportedly mistook him for a militant Islamist.
The minister's death caused shock and anger at the time.
The military court which sentenced the soldier said he could appeal.
His lawyers argued that the killing was an accident, the AFP news agency reports.
They said that the minister's car attracted suspicion after it drove up behind the car carrying the auditor general, who the soldier was protecting.
At 31, Mr. Siraji became Somalia's youngest-ever Member of Parliament last November before becoming the minister of public works earlier this year.
He grew up as a refugee in neighboring Kenya, home to hundreds of thousands of Somalis who fled drought and conflict and he was considered as a role model for his widely admired determination to succeed.