A machete-wielding man who tried to enter the Paris Louvre museum before being shot by soldiers was an Egyptian national who 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.
The Louvre, one of France's most popular tourism sites, remains closed after the man lunged at police officers shouting "Allahu Akbar".
Police say the man attacked soldiers after he was told he couldn't enter an underground shopping mall beneath the Louvre, with his bags. When he attacked he was shot.
Visitors to the Louvre were told over the loudspeaker of the attempted attack on the Paris museum and there was no panic, witnesses say, as guards directed people to sit tight together and away from windows.
The man, who police said had shouted "Allahu akbar" (God is greatest) as he rushed towards the museum, remains alive but seriously wounded. His bags contained no explosives.
"(The announcement) came over the loudspeakers that are dotted around," said Paul Lecher, 68, a retired Parisian and frequent Louvre visitor.
"Everything happened calmly," he told Reuters. "It was just a case of listening ... People quickly understood, even those who didn't understand a word of French, that something unusual was happening."
The Louvre, home to Leonardo da Vinci's 'Mona Lisa', ancient Egyptian artefacts and countless other treasures, is a major attraction for visitors to Paris.
Housed in a former royal palace on the banks of the river Seine, the museum welcomed 7.3 million visitors last year, or over 23,000 people a day based on its six-day working week.
Visitors were kept inside for a time after the attempted attack.
"There were announcements, then the security guards started running all over the place and after a short period they started gathering everybody up and getting them to one side of the building," said Lance Manus, 71, from Albany, New York.
Mr Manus and his wife Wendy said security guards made people sit tightly together, away from the windows, and that some children were crying.
"We sat there for over an hour waiting and finally they said we are going to evacuate... as we exited the police were searching and checking everybody."
Asked by reporters if they had been scared, Mr Manus said: "We come from the US, we have our scares just like you have."
France has been hit by a series of militant Islamist attacks over the past two years in which more than 230 people have been killed. The soldier who fired at the machete-wielding man was from one of the patrolling groups that have become a common sight around Paris since a state of emergency was declared across France in November 2015. It remains in force.
Around lunchtime in Paris, a notice on the Louvre's web site said it remained closed to visitors.