A French soldier has opened fire on a man who tried to enter a museum in Paris whilst carrying two backpacks.

The man, who has not yet been identified, was armed with a machete as he tried to enter an underground shop in the Louvre museum at around 10am local time.

A police source told Reuters news agency that the man allegedly shouted the words ‘Allahu akbar’ (‘God is great’ in Arabic) before launching himself at a Parisian soldier.

Liza Swan, media student at Nottingham Trent University, said: “I’m here for my dissertation. I know a soldier shot a guy in the legs for trying to bring a case into the shop part of the Louvre museum.

“He then went to attack the soldier and that’s the last thing I know.”

Reuters reported that there was a group of four soldiers patrolling at the time of the incident. When they were unable to subdue the assailant one began to open fire.

The soldier fired five times, hitting the attacker in the legs and stomach, seriously injuring him. A second person has reportedly been detained for acting ‘suspiciously’ near the scene.

None of the soldiers was said to be seriously injured but one did sustain a head injury.

Paris has been in a high state of terrorism alert since two major attacks in 2015 which killed a total of 147 people.