On Sunday, Somali extremist group Al-Shabab launched attacks on a Kenyan military base used by the US Army and left three Americans dead, a soldier and two civilians.

Share news tips with us here at Hivisasa

Security experts and analysts have explained what could have been the terrorists' aim for the attack.

An analyst at the Sahan Research and Development organization, Matt Bryden, said it was a very bold move by the attackers.

"Either this is indication Al-Shabab intends to continuously strike Kenya, something we know they do intend, or it could be also an indication about  Al-Shabab's determination now to strike the American targets," said Bryden an interview with VOA.

Kenyan security expert, Mustapha Ali, also echoed Bryden's sentiments adding that the attackers wanted to score "some propaganda points" to use in Somalia and around the world.

Five Al-Shabab attackers were killed during the Sunday attack in Lamu.

Gen Stephen Townsend, commander of US Africa Command in a statement said the attackers will be pursued to the end.

"As we honour their sacrifice, let's also harden our resolve. Alongside our African and international partners, we will pursue those responsible for this attack and al-Shabab, who seeks to harm Americans and US interests," Stephen Townsend said.

Al-Shabab has been attacking Kenya since Kenyan soldiers were sent into Somalia to restore peace in the country.

Some leaders have been urging the government to recall the Kenyan troops from Somalia.