Please enable JavaScript to view this video and consider upgrading to a web browser that supports HTML5 videos

Riots broke out in Paris near the site of a racially motivated mass shooting, which left three dead and three injured.

Emmanuel Macron said the country’s Kurdish community was the victim of a horrific attack, while his interior minister Gerald Darmanin said the suspect was clearly targeting foreigners.

Shots rang out on Rue d’Enghien around noon on Friday, sparking panic on a street lined with small shops and cafes in the French capital’s bustling 10th arrondissement.

Police fired tear gas as darkness fell to fend off an angry mob as projectiles were thrown at officers, trash cans and restaurant tables were overturned, and cars were damaged.

A 69-year-old man named William M. was arrested. Prosecutor Laure Beccuau said he was recently released for a saber attack on a migrant camp in Paris a year ago.

He was convicted of violent crimes with a gun in June 2016 and has appealed.

An investigative source said the attacker was “armed with a rifle and deliberately targeting an area full of immigrants, including new arrivals sleeping in the wild.”

They added: “He threatened people in a hairdresser, a restaurant and people near the Kurdish cultural center Ahmet-Kaya. He seemed determined to kill as many people as possible.”

A police officer stands behind a barrier in the ‘Rue d’Enghien’ after a shooting (Photo: EPA)

Protesters clash with French riot police at the scene of several shots fired along Rue d'Enghien in Paris' 10th arrondissement on Dec. 23, 2022, according to a statement by French Interior Minister Gerald Darmanin (unseen).  - Two people were killed and four injured in a shooting in central Paris on December 23, 2022, police and prosecutors said, adding that the gunman was arrested in his 60s.  The gunman's motives remain unclear, but two of the four injured are in serious condition, French officials said.  (Photo by Thomas SAMSON/AFP) (Photo by THOMAS SAMSON/AFP via Getty Images)

Protesters clashed with French riot police (Photo: AFP via Getty)

Mandatory credit: Photo by Blondet Eliot/ABACA/Shutterstock (13682773bv) On December 23, 2022, riots broke out at the scene where several shots were fired along Rue d'Enghien in the 10th arrondissement in Paris.  Three people were killed and four injured in a shooting in central Paris on December 23, 2022, police and prosecutors said, adding that the gunman was arrested in his 60s.  The gunman's motives remain unclear, but two of the four injured are in serious condition, French officials said.  Three dead, several injured after gunfire - Paris, France - December 23, 2022

Three people were killed in the attack (Photo: ABACA/Shutterstock)

PARIS, FRANCE - DECEMBER 23: Angry protesters take on French riot police after violent clashes erupted following French Interior Minister Gerald Darmanin's visit to the scene of a deadly gunfight that killed three people earlier in the day on December 23 came to life.  2022 in Paris, France.  Protesters, mainly from the Kurdish community, expressed concern about feeling vulnerable after the attack in France, blaming the Turkish government, while the French government blamed the attacks on identity politics and far-right ideology, despite a official investigation still ongoing.  Police arrested a 69-year-old man in connection with the attack, which took place in the 10th arrondissement near the Gare de l'Est train station and a Kurdish cultural center.  (Photo by Kiran Ridley/Getty Images)

Angry protesters take on French riot police after violent clashes (Photo: Getty)

PARIS, FRANCE - DECEMBER 23: Angry protesters take on French riot police after violent clashes erupted following French Interior Minister Gerald Darmanin's visit to the scene of a deadly shooting that killed three people earlier in the day on December 23 came to life.  2022 in Paris, France.  Protesters, mainly from the Kurdish community, expressed concern about feeling vulnerable after the attack in France, blaming the Turkish government, while the French government blamed the attacks on identity politics and far-right ideology, despite a official investigation still ongoing.  Police arrested a 69-year-old man in connection with the attack, which took place in the 10th arrondissement near the Gare de l'Est train station and a Kurdish cultural center.  (Photo by Kiran Ridley/Getty Images)

The demonstrators, mainly from the Kurdish community, expressed concern that they felt vulnerable after the attack in France (Photo: Getty)

TOPSHOT - Protesters clash with French riot police officers, following a statement by French Interior Minister Gerald Darmanin (unseen) at the scene where multiple shots were fired on December 23, 2022 along Rue d'Enghien in the 10th arrondissement in Paris.  - Three people were killed and three injured in a shooting in central Paris on December 23, 2022, police and prosecutors said, adding that the gunman was arrested in his 60s.  The gunman's motives remain unclear, but two of the four injured are in serious condition, French officials said.  (Photo by Thomas SAMSON/AFP) (Photo by THOMAS SAMSON/AFP via Getty Images)

The motives of the shooter remain unclear (Photo: AFP via Getty)

Clashes with French police during a demonstration near Rue d'Enghien after shots were fired that killed and injured several people in a central district of Paris, France on December 23, 2022.  REUTERS/Sarah Meyssonnier

Police with riot shields (Image: Reuters)

Eyewitness Mehmet Dilek said he first heard gunshots and then screams coming from a barber shop opposite the cultural center. Bystanders suppressed the gunman as he reloaded, he added.

“It can be shocking to someone who has never worried in his life. But we grew up under the threat of guns and bombs, that’s life for us Kurds,” he continued.

The shootings are a “terrible drama,” Mayor Alexandra Cordebard told reporters. One of the injured suffered life-threatening injuries, she said.

The shooting took place near a Kurdish cultural center

The shooting took place near a Kurdish cultural center

French police and firefighters secure a street after shots were fired in a neighborhood in central Paris, France, on December 23, 2022, killing two people and injuring several.  REUTERS/Sarah Meyssonnier

French police and firefighters secure a road (Photo: Reuters)

Kurdish leaders have called for greater protection for their community, a problem facing Kurds in France since the high-profile murder of three Kurdish women a decade ago.

“Kurds should be able to live in peace and security wherever they live,” Paris Mayor Anne Hidalgo said on Twitter.

“Paris is now more than ever by her side in these dark times.”

Julien Verplancke, who works at another local restaurant, Chez Minna, said staff at the Kurdish restaurant burst into tears after the shooting.

Several hours later, armed police officers were still guarding a security cordon as detectives combed the crime scene.

A preliminary investigation has been launched into murder, manslaughter and aggravated assault.

Salih Azad, a prominent figure in Marseille’s Kurdish community, said he knew one of the victims, a 26-year-old woman who had lived in Paris for several years.

“She was socially and culturally well integrated,” he said.

.