Protesters erected barricades, lit fires and shot fireworks at police in French streets overnight as tensions grew over the deadly police shooting of a 17-year-old.

More than 875 people were arrested and at least 200 police officers hurt as the government struggled to restore order on a third night of unrest.

Armoured police vehicles rammed through the charred remains of cars which had been flipped and set ablaze in the northwestern Paris suburb of Nanterre, where a police officer shot the boy identified only by his first name, Nahel.

A relative of the teenager said his family is of Algerian descent.

Nahel will be buried on Saturday, Nanterre mayor Patrick Jarry said, adding that the country needs to “push for changes” in disadvantaged neighbourhoods.

“There’s a feeling of injustice in many residents’ minds, whether it’s about school achievement, getting a job, access to culture, housing and other life issues … I believe we are in that moment when we need to face the urgency (of the situation),” he said.

The unrest extended as far as Belgium’s capital Brussels, where about a dozen people were detained during scuffles related to the shooting in France and several fires had to be tackled.

In several Paris neighbourhoods, groups of people hurled firecrackers at security forces. The police station in the city’s 12th district was attacked, while some shops were looted along Rivoli street, near the Louvre museum, and at the Forum des Halles, the largest shopping centre in central Paris.

In the Mediterranean port city of Marseille, police sought to disperse violent groups in the city centre, regional authorities said.

Similar incidents broke out in dozens of towns and cities across France.

Some 40,000 police officers were deployed to quell the protests.

National police said a total of 875 people were detained overnight, including 408 in the Paris region alone.

Around 200 police officers were hurt, according to a national police spokesperson.

No information was available about injuries among the rest of the population.

Police stand amid firecrackers on the third night of protests sparked by the fatal police shooting of a 17-year-old driver in the Paris suburb of Nanterre, France
Police stand amid firecrackers on the third night of protests sparked by the fatal police shooting of a 17-year-old driver in the Paris suburb of Nanterre, France (Aurelien Morissard/AP)

Interior minister Gerald Darmanin on Friday denounced what he called a night of “rare violence”.

His office described the arrests as a sharp increase on previous operations as part of an overall government efforts to be “extremely firm” with rioters.

The French government has stopped short of declaring a state of emergency — a measure taken to quell weeks of rioting around France that followed the accidental death of two boys fleeing police in 2005.

But Prime Minister Elisabeth Borne suggested on Friday the option is being considered.

President Emmanuel Macron left early from an EU summit in Brussels, where France plays a major role in European policymaking, to return to Paris and hold an emergency security meeting.

The German government on Friday said it is monitoring the unrest in France “with some concern” but it is up to French authorities and the public there to tackle the issue.

The police officer accused of pulling the trigger on Tuesday was handed a preliminary charge of voluntary homicide after prosecutor Pascal Prache said his initial investigation led him to conclude “the conditions for the legal use of the weapon were not met”.

Preliminary charges mean investigating magistrates strongly suspect wrongdoing but need to investigate more before sending a case to trial.

The shooting captured on video shocked France and stirred up long-simmering tensions between police and young people in housing projects and other disadvantaged neighbourhoods.

The detained police officer’s lawyer, speaking on French TV channel BFMTV, said the officer is sorry and “devastated”.

The officer did what he thought was necessary in the moment, Laurent-Franck Lienard told the news outlet.

“He doesn’t get up in the morning to kill people,” Mr Lienard said of the officer, whose name has not been released as per French practice in criminal cases.

“He really didn’t want to kill.”

Mr Prache said officers tried to stop Nahel because he looked so young and was driving a Mercedes with Polish license plates in a bus lane.

He allegedly went through a red light to avoid being stopped and then got stuck in traffic.

The officer who fired the shot said he feared he and his colleague or someone else could be hit by the car as Nahel tried to flee, Mr Prache said.

Nahel’s mother, identified as Mounia M, told France 5 television she is angry at the officer who killed her only child but not the police in general.

“He saw a little Arab-looking kid; he wanted to take his life,” she said, saying justice should be “very firm”.

A can burns in the Paris suburb of Nanterre
A can burns in the Paris suburb of Nanterre (Aurelien Morissard/AP)

“A police officer cannot take his gun and fire at our children, take our children’s lives,” she said.

Nahel’s grandmother, who was not identified by name, told Algerian television Ennahar TV her family has roots in Algeria.

Algeria’s foreign affairs ministry said in a statement on Thursday that grief is widely shared in the North African country.

Anti-racism activists have renewed complaints about police behaviour.

“We have to go beyond saying that things need to calm down,” said Dominique Sopo, head of the campaign group SOS Racisme.

“The issue here is how do we make it so that we have a police force that when they see blacks and Arabs, don’t tend to shout at them, use racist terms against them and in some cases, shoot them in the head.”

A helicopter above the Paris suburb of Nanterre
A helicopter above the Paris suburb of Nanterre (Aurelien Morissard/AP)

Race was a taboo topic for decades in France, which is officially committed to a doctrine of colourblind universalism.

But some increasingly vocal groups argue that this consensus conceals widespread discrimination and racism.

A car burns during protests
A car burns during protests (Aurelien Morissard/AP)

Deadly use of firearms is less common in France than in the United States, though several people have died or been wounded by French police in recent years, prompting demands for more accountability.

France also saw protests against racial injustice after George Floyd’s killing by police in Minnesota.

The protests in France’s suburbs echoed 2005, when the deaths of 15-year-old Bouna Traore and 17-year-old Zyed Benna led to three weeks of riots, exposing anger and resentment in neglected housing projects.

The boys were electrocuted after hiding from police in a power substation in Clichy-sous-Bois.

In Geneva, the UN human rights office said it is concerned by Nahel’s killing and the subsequent violence and said allegations of disproportionate use of force by authorities in quelling the unrest should be swiftly investigated.

“This is a moment for the country to seriously address the deep issues of racism and racial discrimination in law enforcement,” spokesperson Ravina Shamdasani told reporters.

Ms Shamdasani said the UN Committee on the Elimination of Racial Discrimination expressed concern in December about “the frequent use of identity checks, discriminatory stops, the application of criminal fixed fines imposed by the police or law enforcement agencies, that they said disproportionately targets members of certain minority groups”.