A Kenyan police official says the country's anti-terrorism police have killed a wanted terrorist and recovered a cache of weapons in the port city of Mombasa.

Police official Boniface Mwaniki said Sunday that Khalid Ahmed was trailed by police from the capital Nairobi to Mombasa where he was killed in a dawn exchange of fire at his mother's house. Mwaniki says the Somali national sneaked into Kenya from Somalia where he had undergone paramilitary training.

Mwaniki said police recovered a hand grenade, a pistol and ammunition inside the house. He said some police officers were wounded in the shootout with Ahmed.

Kenya has had a growing terror problem since 2011 when it sent its troops to fight Islamic militants inside Somalia. Al-Shabab has since then staged retaliatory attacks inside Kenya.