A man suspected of wounding two people with a meat cleaver near the former Paris offices of Charlie Hebdo magazine has admitted staging the attack, linking it to the republication of cartoons of the Prophet Mohammed by the satirical weekly, sources said Saturday.

The man, who said he was born in Pakistan and is 18, "takes responsibility for his action," which came three weeks into the trial of suspected accomplices in the 2015 massacre of the newspaper's staff, a source close to the investigation said.

The man said during questioning he places his actions "in the context of the republication of cartoons" of the Prophet Mohammed in Charlie Hebdo, the source said.

Seven people are now in being held in connection with the attack
Seven people are now in being held in connection with the attack AFP / Laura CAMBAUD

A man armed with a meat cleaver critically wounded two people on Friday near Charlie Hebdo's former offices in the French capital's 11th district.

He was arrested not far from the scene later Friday.

French Interior Minister Gerald Darmanin said Friday the attack was "clearly an act of Islamist terrorism".

A large meat cleaver found near the scene was allegedly used by the attacker
A large meat cleaver found near the scene was allegedly used by the attacker ESN / David COHEN

Charlie Hebdo has angered many Muslims around the world by publishing cartoons of the Prophet Mohammed over the years, and in a defiant gesture reprinted some of the caricatures ahead of the trial.

The attack occurred near Charlie Hebdo's former offices in the French capital's 11th district.
The attack occurred near Charlie Hebdo's former offices in the French capital's 11th district. AFP / Alain JOCARD

France's PNAT specialist anti-terror prosecution office said Friday it had opened a probe into charges of "attempted murder related to a terrorist enterprise" against him as well as "conspiracy with terrorists."

The Premieres Lignes news production agency said the wounded were its employees -- a man and a woman taking a cigarette break outside.

The company specialises in investigative reports and produces the prize-winning Cash Investigation programme.

Photos show a victim badly injured on the ground, a bloody knife on the ground and a bloodstain. Images show firefighters arriving in a building with a stretcher after two people were stabbed in the street near the former premises of Charlie Hebdo.
Photos show a victim badly injured on the ground, a bloody knife on the ground and a bloodstain. Images show firefighters arriving in a building with a stretcher after two people were stabbed in the street near the former premises of Charlie Hebdo. AFPTV / Greg OZAN

A source close to the investigation confirmed to AFP on Friday that a large meat cleaver found near the scene was used by the attacker.

French police are holding a total of seven people in connection with the attack.

Among them is a former flatmate of the main suspect who was taken in for questioning during the night, a judicial source said.

IMAGES Images of one of the two presumed properties linked to the main suspect in the Paris suburb of Pantin after a man armed with a meat cleaver wounded two people outside the former offices of satirical weekly Charlie Hebdo.
IMAGES Images of one of the two presumed properties linked to the main suspect in the Paris suburb of Pantin after a man armed with a meat cleaver wounded two people outside the former offices of satirical weekly Charlie Hebdo. AFPTV / Wafaa ESSALHI

Five others were arrested in the Paris suburb of Pantin during a search of a property linked to the main suspect.

Police also late Friday released another man who was close to the scene of the attack but who was confirmed to have been a witness who had "chased the assailant", a judicial source said.

Neighbours and shopkeepers in Pantin described the suspect as "discreet" and "polite."

The young man, who arrived from Pakistan three years ago, was believed to have last lived in a small flat in a four-storey building in the district.

"He was very polite. I often saw him sitting on the landing with his telephone. He helped me carry my groceries," said one neighbour, who identified herself Josiane.

Prime Minister Jean Castex Saturday hailed the "efficiency" of the security forces following the attack during a visit to police headquarters, and said the "enemies of the Republic will never win".

Twelve people, including some of France's most celebrated cartoonists, were killed in the attack on Charlie Hebdo's offices by Islamist gunmen on January 7, 2015.

The magazine's new address is kept secret.

The stabbing came during the trial of 14 alleged accomplices of brothers Said and Cherif Kouachi, the perpetrators of the 2015 attack on Charlie Hebdo that was claimed by a branch of Al-Qaeda.

A female police officer was killed a day later, followed the next day by the killing of four men in a hostage-taking at a Jewish supermarket by gunman Amedy Coulibaly.

The magazine received fresh threats from Al-Qaeda this month after it republished the controversial cartoons.

More than 100 French news outlets on Wednesday called for continuing support for Charlie Hebdo against what they described as the "enemies of freedom".