BAMAKO, Mali — Suspected jihadists attacked a hotel resort Sunday in Mali’s capital, taking hostages at a spot popular with foreigners on the weekends. About 30 people managed to escape, though at least two people were killed as the assault continued into the evening, authorities said.

Gunfire first rang out at the Campement Kangaba on the outskirts of Bamako in the late afternoon, according to a security official with the U.N. mission known as MINUSMA. The official spoke on condition of anonymity because he was not authorized to talk to reporters.

“I heard gunfire coming from the camp, and I saw people running out of the site,” said Modibo Diarra, who lives nearby. “I learned that it was a terrorist attack.”

Malian soldiers later succeeded in entering the resort area, according to Commandant Modibo Traore, a spokesman for the Malian special forces in the former French colony.

“The operation is ongoing,” he said, estimating there were three or four assailants.

Mali’s security minister later issued a statement confirming at least two deaths, one of which was a dual French-Gabonese citizen. One of the suspected attackers who was wounded in the attack managed to escape, the ministry said.

As night fell, witnesses saw smoke rising from the Campement Kangaba, which features three swimming pools and is a popular escape from the Malian heat. It was not clear what was burning, although jihadists in other attacks have set cars ablaze.

There was no claim of responsibility for the attack, which came amid the final week of the Muslim holy month of Ramadan. In predominantly Muslim Mali, people have been fasting from sunrise to sundown for three weeks.

Sunday’s violence came about a week after the U.S. State Department warned of possible attacks on Western diplomatic missions and other locations in Bamako that Westerners frequent.

The U.N. official said those at the resort when the attack began included people affiliated with the French military mission as well as the U.N. and European Union missions in the country.