A judge known for jailing pirates and Islamists has been shot dead in Somalia's northern Puntland region.
Sheikh Mohamed Abdi Aware was killed outside a mosque in Bossaso, capital of the semi-autonomous region, where many pirates are based.
Mr Aware had recently sent to jail four members of the Islamist al-Shabab group, which is fighting Somalia's UN-backed government.
Bossaso is also a hub for smuggling people from the region to Yemen.
The high court judge was shot several times in the head and chest by two masked men, an eyewitness said.
Three suspects have been arrested, said Puntland Security Minister Mohamed Said Samatar.
Mr Aware was also a member of Puntland's Supreme Judicial Council which supervises the judiciary and nominates senior judicial officials.
"He sentenced hundreds of pirates, people-smugglers and members of al-Shabab during his work in Bossaso," said a cousin, Abdulahi Jama.
"These gangs hate him for his justice. We suspect one of them may have something to do with his assassination."
Also on Wednesday evening masked gunmen killed a Puntland lawmaker as he was heading to his house.
Piracy is a big problem in Somalia
A judge known for jailing pirates and Islamists in Somalia has been shot dead by gunmen. Sheik Mohamed Abdi Aware was shot in the head and chest by two masked men outside a mosque in Bossaso. 

As well as being a High Court judge, Aware was also a member of Puntland’s supreme judicial council. During his work in Bossaso, Aware had sentenced several Islamists, pirates and people smugglers. 

His cousin Abdulahi Jama said to reporters: "These gangs hate him for his justice. We suspect one of them may have something to do with his assassination". Three people are in custody after being arrested.

On Wednesday, Ibrahim Elmi Warsame, a local member of parliament was shot dead as he sat in a tea shop. It was not immediately known if the shootings were related.