MOGADISHU, Somalia – A Somali military court has sentenced an al Shabaab member to ten years in prison on Monday in Mogadishu.

The accused, Ahmed Ali Aybakar got a ten-year jail sentence after he was found guilty of having links with Al Shabaab, the court chief, Ali Nour Shute said.

He says Aybukar has been harboring Al Shabaab militants, who injured in military operations.

He was also accused of taking some wounded militants to hospitals before his detention.

In July, the Somali security forces arrested Aybukar and his militant patient at hospital in the capital, Mogadishu, he said.

His lawyer argued that Al Shabaab coerced his client to its job.

He also asked the court to show some mercy on him.

Somali military court often sentences al Shabaab members to death or life imprisonment.