A French police officer who offered himself up to an extremist gunman in exchange for a hostage has died of his injuries, the interior minister said Saturday.
Col. Arnaud Beltrame was among the first officers to respond to the attack on the supermarket in the south of France on Friday. His death, announced by French Interior Minister Gerard Collomb, raises the toll to four. The gunman was also killed, and 15 people were injured in the attack.
The gunman first hijacked a car and opened fire on police, then took hostages inside a supermarket. Baltrame volunteered to take the place of a female hostage and surreptitiously left on his cellphone so police outside could hear what was happening inside the store.
Officials said the decision was made to storm the building when they heard shots fired.
French President Emmanuel Macron said investigators will focus on establishing how the gunman, identified by prosecutors as Moroccan-born Redouane Lakdim, got his weapon and how he became radicalized.
On Friday night, authorities searched a vehicle and a building in central Carcassonne.
Lakdim was known to police for petty crime and drug dealing. But he was also under surveillance and since 2014 was on the so-called "Fiche S" list, a government register of individuals suspected of being radicalized but who have yet to perform acts of terrorism.
Despite this, Paris prosecutor Francois Molins said there was "no warning sign" that Lakdim would carry out an attack.
A woman close to Lakdim was taken into custody over alleged links with a terrorist enterprise, Molins said. He did not identify her.
The four-hour drama began at 10:13 a.m. when Lakdim hijacked a car near Carcassonne, killing one person in the car and wounding the other, the prosecutor said.
Lakdim then fired six shots at police officers who were on their way back from jogging near Carcassonne, said Yves Lefebvre, secretary general of SGP Police-FO police union. The police were wearing athletic clothes with police insignia. One officer was hit in the shoulder, but the injury was not serious, Lefebvre said.
Lakdim then went to a Super U supermarket in nearby Trebes, 60 miles (100 kilometers) southeast of Toulouse, shooting and killing two people in the market and taking an unknown number of hostages. Special police units converged on the scene while authorities blocked roads and urged residents to stay away.
He shouted "Allahu akbar! (God is great)" and said he was a "soldier of the Islamic State" as he entered the Super U, where about 50 people were inside, Molins said.
"We heard an explosion — well, several explosions," shopper Christian Guibbert told reporters. "I went to see what was happening and I saw a man lying on the floor and another person, very agitated, who had a gun in one hand and a knife in the other."
During the standoff, Lakdim requested the release of Salah Abdeslam, the sole surviving assailant of the Nov. 13, 2015, attacks in Paris that left 130 people dead. The interior minister suggested, however, that Abdeslam's release wasn't a key motive for the attack.
The IS-linked Aamaq news agency said the attacker was responding to the group's calls to target countries in the U.S.-led coalition carrying out airstrikes against IS militants in Syria and Iraq since 2014. France has been repeatedly targeted because of its participation.
France has been on high alert since a series of extremist attacks in 2015 and 2016 that killed more than 200 people.
Associated Press journalists Thomas Adamson, Samuel Petrequin, Sylvie Corbet, Angela Charlton and Jerome Pugmire contributed to this report.