Burkina Faso security forces killed three suspected jihadist attackers at a restaurant in central Ouagadougou, Communications Minister Remi Dandjinou said on Monday.
The gunmen killed 17 people and wounded eight since attacking the Aziz Istanbul restaurant in the city centre late on Sunday.
Mr. Dandjinou said security forces are seeking to free people still trapped inside.
A Reuters witness saw customers running out of the Aziz Istanbul restaurant in central Ouagadougou as police and paramilitary gendarmerie surrounded it amid gunfire.
“This is a terrorist attack,” Mr. Dandjinou told a news conference.
He said the toll was provisional because the security operation was still underway.
Mr. Dandjinou said Burkina Faso security forces killed three suspected jihadists but there were still people trapped inside the building.
A woman said she was in the restaurant celebrating her brother’s birthday when the shooting started.
“I just ran but my brother was left inside,” the woman told Reuters TV as she fled the building.
Burkina Faso, like other countries in West Africa, has been targeted sporadically by jihadist groups operating across Africa’s Sahel.
Most attacks have been along its remote northern border region with Mali, which has seen attacks by Islamist militants for more than a decade.
Thirty people were killed when gunmen attacked a restaurant and hotel in Ouagadougou in January 2016 in an incident claimed by al Qaeda in the Islamic Maghreb (AQIM).
AQIM and related jihadi groups were largely confined to the Sahara Desert until they hijacked a Tuareg rebellion in Mali in 2012 and swept south.
French forces intervened to prevent them taking Mali’s capital, Bamako, the following year, but they have since gradually expanded their reach, launching high-profile attacks on Burkina Faso and Ivory Coast.
A new al Qaeda-linked alliance of Malian jihadist groups claimed an attack in June that killed at least five people at a luxury Mali resort popular with Western expatriates just outside Bamako.
African nations launched a new multinational military force to tackle Islamist militants in the Sahel in July, but it won’t be operational until later this year and faces a budget shortfall.
A Turkish national was among those killed in the attack in Burkina Faso by suspected jihadists, Turkey’s foreign ministry said on Monday.
The ministry said another Turk was wounded in Sunday’s raid on a restaurant in Burkina Faso’s capital, which killed at least 17 people.
The local French embassy in Burkina Faso is in contact with local authorities regarding the attack on a restaurant and has advised its citizens to avoid the area, the French foreign ministry said on Monday.
“Our embassy is being kept informed of the situation due to permanent contact with local authorities,” the foreign ministry said in the statement.