A machete-wielding man who tried to enter the Paris Louvre museum before being shot by soldiers was 29-year-old Abdullah Refaei al-Hamany, born in Dakahlia, a province northeast of Cairo, two Egyptian security sources say.
The Egyptian national arrived in France at the end of January, a source close to the investigation says.
"According to the investigation's initial indications, it was an Egyptian national," the source said, following the Friday morning attack.
A French soldier patrolling at the Louvre museum in Paris shot and seriously injured a machete-wielding man on Friday who yelled "Allahu Akbar" ("God is greatest") as he attacked security forces, police said.
Hundreds of tourists were confined to secure areas of the world-famous art gallery in central Paris after the attacker was shot five times around 10:00 (1100 GMT) in a public area inside the complex.
Prime Minister Bernard Cazeneuve called the attack "terrorist in nature."
One soldier was "lightly injured" and has been taken to hospital, while the knifeman is in a serious condition but is still alive, security forces said.
Two backpacks carried by the assailant were checked by bomb disposal specialists at the scene and were found not to contain explosives.
READ THESE STORIES TOO

Machete attacker shot at Louvre in Paris
The incident sparked fresh jitters in a country still reeling from a string of terror attacks over the last two years and under a state of emergency since November 2015.