Tunisia has extended for three months the state of emergency declared after a November Islamic State-linked suicide bombing in the country's capital that killed 12 members of the president's security detail.

It was the third time the state of emergency has been prolonged since the attack.

The decision Monday by President Beji Caid Essebsi to continue the emergency measure reflects the potential threats faced by this North African country, which is also fighting extremists on its borders with Libya and Algeria. On March 7, attackers struck the border region with Libya and killed 13 soldiers and seven civilians.

Attacks in March and June, at a museum then a resort near Sousse, killed scores — mainly foreign tourists.

The move gives the government emergency powers to forbid gatherings.