Africa has been challenged to change tack in the fight against terror.

Delegates attending the 46th edition of the Commonwealth Parliamentary Association conference for Africa region said the continent must move away from solely relying on military interventions to eradicate terror groups.

Kenya and Nigeria – two countries reeling under the threats of terror groups Al Shabaab and Boko Haram respectively – took the centre focus during a session where the continent's legislators sought to find solutions to contain the menace.

Wajir Senator Abdirahman Hassan, who moved the debate during the session, said that the use of military to fight the ragtag groups had instead made both Al Shabaab and Boko Haram more militant.

"We need to realise that military interventions only hardly work. Counter-terrorism co-operation in the region needs to move beyond focus on military and law enforcement responses to a more holistic and prevention-based approach," argued Hassan.

Nigeria's Senate Deputy President Ike Ekweremadu called for setting up of special courts within African States to try terror suspects, saying deterrent sentences must be given to those found guilty.

He further said African countries must not relent in the fight against corruption, saying the vice had greatly contributed to the enhancement of terror activities.

Kitutu Chache North MP Jimmy Angwenyi claimed that terrorism was thriving in Kenya and Nigeria as the two nations had turned into hotbeds of corruption.