Witnesses say soldiers are going house-to-house in Gambia's capital following a failed coup attempt earlier this week in the tiny West African nation.

Gambian President Yahya Jammeh accused "terrorist groups" of being behind the attack and alleged late Wednesday that they had received backing from some foreign countries.

The longtime leader who himself seized power in a 1994 coup had been away at the time of Tuesday's attack.

After hours of fighting, forces loyal to Jammeh's regime succeeded in getting the upper hand, killing five insurgents.

Gambia is a small sliver of a country surrounded by Senegal where human rights activists say Jammeh has targeted political opponents, journalists, and gays and lesbians.