Two suicide bombers blew themselves up in separate attacks on police in the Tunisian capital on Thursday, killing one police officer and wounding several other people, the government said.

It was not immediately known who was behind the attacks, which took place months before an election and at the peak of a tourist season in which Tunisia is hoping for a record number of visitors.

The first targeted a police patrol in Charles de Gaulle Street in central Tunis. One police officer was killed and at least one other officer and three civilians were wounded, the interior ministry said.

Shortly afterward, a second suicide bomber blew himself up near a police station in the parking lot of the government anti-terrorism agency in al-Qarjani district. Four people were wounded, the interior ministry said.

Heavily armed police cordoned off the sites of the attacks.

Military attacks since uprising

Tunisia has been battling militant groups operating in remote areas near the border with Algeria since an uprising overthrew autocratic leader Zine Abidine Ben Ali in 2011. High unemployment has also stoked unrest in recent years.

Last October, a woman blew herself up in the centre of Tunis capital, wounding 15 people including 10 police officers in an explosion that broke period of calm after dozens died in militant attacks in 2015.

Security has improved since authorities imposed a state of emergency in November 2015 after those attacks — one at a museum in Tunis and another on a beach in Sousse. A third attack targeted presidential guards in the capital and killed 12. The group Islamic State in Iraq and Syria (ISIS) claimed responsibility.

Those actions scared off holidaymakers and investors, worsening an economic crisis.