A suicide bomber disguised as a policeman blew himself up inside a police training camp in Somalia's capital, Mogadishu, on Thursday, killing at least 15 officers, officials have confirmed.
Police spokesperson Major Mohamed Hussein said the attacker had explosives strapped to his body and infiltrated the General Kahiye Police Training Academy during an early morning parade.
"So far 15 have died, and 17 others were injured," Abdullahi Nur, another police official, told Reuters.
Earlier, the head of a local ambulance service said they had moved the bodies of 13 victims as well as 15 injured people.
The militant Islamist group Al-Shabaab claimed responsibility for the attack and gave a higher death toll.
"We killed 27 police (officers) and injured more," Abdiasis Abu Musab, the group's military operations spokesperson, claimed to Reuters. Al-Shabaab carries out frequent bombings in Mogadishu and other Somalian towns.
The group, allied to Al-Qaeda, is waging an insurgency against Somalia's U.N.-backed government and its African Union allies in a bid to topple the weak administration and impose its own strict interpretation of Islam.
The militants were driven out of Mogadishu in 2011 and have since been steadily losing territory to the combined forces of African Union peacekeepers and Somalian security forces.
Al-Shabaab's attacks come at a time when the African Union is finalising plans to trim its peacekeeping mission, called AMISOM.
The force of 22,000 deployed a decade ago, but is set to lose 1,000 soldiers this month as part of a long-term plan to pull out of the country and hand security to the Somalian army.
The peacekeepers were deployed to help secure a government that has struggled to establish central control, in a country that was plunged into civil war in the early 1990s.