The suspect in a deadly knife attack in central Paris on Saturday evening is a French citizen born in 1997 in Russia's republic of Chechnya, sources say.
Named by media as Khamzat Asimov, he was on a French watch list of people who could pose a threat to national security, the sources said.
Police shot dead the attacker in the busy Opéra district after he killed a man and injured four other people.
The Islamic State (IS) group said it was behind the attack.
French President Emmanuel Macron tweeted , "France has once again paid in blood, but will not give an inch to the enemies of freedom."
Later on Sunday, a judicial source said that a friend of the suspect had been detained for questioning in the eastern city of Strasbourg.
France has been on high alert following a series of attacks. More than 230 people have been killed by IS-inspired jihadists in the past three years.
The suspect was not carrying any identification papers and has not yet been officially named.
Sources told French media the man had no criminal record and his parents had been held for questioning. He is believed to be a French citizen who was naturalised in 2010.
The man had been categorised as "fiche S", the sources said.
This flags people considered to be a possible threat to national security and allows for surveillance without being a cause for arrest.
It includes those suspected of Islamist radicalisation but is wide-ranging and covers such groups as political extremists, gangsters and even football hooligans.
In 2015, then Prime Minister Manuel Valls said there were 20,000 names on the list, about half related to Islamist radicalisation.
This would be the first time an assailant of Chechen origin has carried out a terrorist attack in France.
France is home to some 30,000 people of Chechen origin.
The attacker began stabbing passers-by at about 21:00 local time (19:00 GMT) on Saturday.
Eyewitnesses described him as a young man with brown hair and a beard, dressed in black tracksuit trousers.
He shouted "Allahu Akbar" (God is greatest) during the attack, witnesses said.
The man tried to enter several bars and restaurants but was blocked by people inside.
Police first tried to stop the assailant with a Taser before shooting him dead, nine minutes after he began the attack.
Jonathan, a waiter at a local restaurant, told AFP: "I saw him with a knife in his hand. He looked crazy."
He said a woman, stabbed by the attacker, had run into into the restaurant bleeding. The assailant tried to follow her inside but was fended off and finally fled.
Two of the wounded in the attack are in a serious condition but do not have life-threatening injuries.
IS said it was behind the attack in a brief statement posted on its news outlet.