Somalia's Al-Qaeda-linked Shebab militants stormed an African Union base Friday in the country's southwest, with several killed in fierce gun battles, soldiers said.
"They launched an offensive on a military base at El-Adde and there was heavy fighting which caused casualties," Somali army colonel Idris Ahmed said, adding a Shebab suicide commando blasted a way into the base in the Gedo region, which borders Kenya and Ethiopia.
Both Somali troops and Kenyan soldiers with the AU force, AMISOM, are deployed at the isolated base.
"There was suicide attack followed by the fighting and it seems that the base was stormed," Ahmed said.
"AMISOM can confirm that there was an attack on our troops in El-Adde," the force said in a brief statement hours after the attack began, but gave no further details.
Shebab spokesman Abdiaziz Abu Musab claimed 63 Kenyan troops were killed in the pre-dawn raid, but this could not be immediately verified.
"The mujahedeen fighters carried out a successful operation this morning on a military base at El-Adde, and they have killed many of the Christian soldiers from Kenya," Musab said. "We have counted 63 dead bodies inside the base."
The Shebab frequently exaggerates the number of troops they kill, while AMISOM rarely gives exact tolls.
The attack came as politicians met in the southern port of Kismayo, with President Hassan Sheikh Mohamud leading a "National Consultative Forum" to debate planned elections due later this year.
"Somalia is no longer a failed state," Mohamud said in a statement, which made no reference to the attack. "Somalia is building a strong foundation to support a better future."
Kenya's defence ministry confirmed there had been "casualties" but was unable to confirm numbers, describing the assault as an "unfortunate incident".
Kenyan military spokesman David Obonyo said the army "is doing all it can to consolidate the situation in the shortest time possible," without giving further details.
Local elder Hussein Adam said he heard a huge explosion followed by intense gunfire for about 45 minutes.
"We don't know about the casualties, but people who went there saw many dead bodies strewn around," he said, having spoken to those who went to the base.
The Shebab, fighting to overthrow Somalia's internationally-backed and AU-protected government, has launched a string of similar attacks.
In September 2015, Shebab fighters stormed a Ugandan AMISOM base in Janale district, 80 kilometres (50 miles) southwest of Mogadishu in the Lower Shabelle region.
And in June, Shebab killed dozens of Burundian soldiers when they overran an AMISOM outpost northwest of Mogadishu.
The militants also stage frequent suicide attacks in the capital.
But the 22,000-strong AMISOM force has also made significant gains against the Shebab, pushing them out of several strongholds in the southwest.
The Shebab have also staged attacks in Kenya, killing at least 67 people at Nairobi's Westgate Mall in 2013 and massacring 148 people at a university in Garissa in April 2015.
The militants say the attacks are retaliation for the Kenyan military presence in Somalia and "war crimes" committed by Kenyan troops.