THREE women have been killed while staging what officers said was “an apparent terror attack” at the main police station in the Kenyan city of Mombasa.

Police said two of the women involved in the knife and firebomb assault were Kenyans and that one was wearing a suicide vest that did not detonate. Three of their alleged accomplices have been arrested.

Mombasa County police chief Peterson Maelo said the three women had entered the city’s busiest police station midmorning saying they wanted to report a stolen phone.

“In the process one hurled a petrol bomb at the report office as the others confronted two officers and stabbed them,” Maelo told journalists at the scene.

“All the three attackers have been killed and the two police officers have been rushed to hospital,” he said, terming it “an apparent terror attack”.

Three suspected terrorists killed in foiled attack at Mombasa Central Police Station https://t.co/mx6PTqmy1W pic.twitter.com/wxcylKbddP — The Star, Kenya (@TheStarKenya) September 11, 2016

Two bulletproof jackets and an unused petrol bomb were recovered from the dead suspects, Coast regional commander Nelson Marwa told reporters.

Two separate police sources who asked not to be named said a woman who had housed the suspects the night before the attack had been arrested.

Police did not say which group the suspects were linked to but Salma Mohamed, a witness who was at the station to see a relative in custody, said the women pledged allegiance to al-Shabab.

“They shouted saying they were al-Shabab and recited the Arabic slogan ‘Allahu Akbar’ even as police fired bullets at them. They did not run. They shouted until bullets fell them down,” she told reporters.

Suspected terrorists hurl petrol bombs at Mombasa Central police station https://t.co/bxMjwa7UeR pic.twitter.com/Z3GzjbRN6g — The Star, Kenya (@TheStarKenya) September 11, 2016

The fire was put out and the station sealed off by heavily armed police officers as the probe got under way.

“We have managed to identify two of the three terror suspects who were killed in Mombasa, they are Kenyans,” police spokesman Charles Owino told AFP, naming them as Fatuma Omar and Tasmin Yakub Abdullahi Farah, both from Mombasa.

He identified Farah as the ringleader, saying she “had a suicide vest that did not detonate because she was shot down swiftly by officers”.

He said police raided her home in Mombasa’s Kibokoni area and arrested three accomplices, who are Somali refugees.

A senior police officer in Mombasa who asked not to be identified said earlier that the three attackers were wearing Muslim dress. “This is terrorism, they were definitely on a mission,” he said.

Kenya has been regularly targeted by the Somalia-based Shabaab, East Africa’s long-time al-Qaeda branch.

The group is fighting to overthrow the internationally-backed government in Mogadishu which is protected by 22,000 African Union troops, including Kenyan soldiers.

The Somali-led insurgents have staged repeated attacks in Kenya, including the killing of at least 67 people at Nairobi’s Westgate Mall in 2013 and the massacre of 148 people at a university in Garissa in April 2015.