A suspected terrorist who attacked soldiers guarding Le Louvre with a machete has denied receiving orders from Isis, claiming he acted alone despite a series of Twitter messages hinting at sympathy for the group.

Abdallah el-Hamahmy remains in hospital after being shot several times during last Friday’s assault and initially refused to cooperate with French investigators.

But he has now broken his silence, sources told AFP, claiming he “acted of his own will” and intended only to deface works of art at the famed gallery as a symbolic attack on France.

Soldier shoots 'attacker' outside Louvre museum in Paris

But investigators believe he has a “certain sympathy for the ideas of Isis,“ the source said, following the discovery of a slew of social media posts from the minutes leading up to the assault.

El-Hamahmy was armed with two machetes purchased from a shop in Paris when he launched his attack, shouting “Allahu akbar”, meaning “God is great” in Arabic.

Officials said a group of four soldiers guarding the entrance to the art gallery and Carrousel du Louvre shopping centre had refused him entry with two backpacks.

One of the troops received a wound to his scalp, while el-Hamahmy was shot at least four times, with police later finding spray cans of paint in his rucksack.

The Egyptian sales manager entered France legally on 26 January using a tourist visa from Dubai, where he lives and works, and was renting an expensive apartment near the Champs-Elysees.

French police secure the site near the Louvre Pyramid in Paris (Reuters)

His family in Egypt insist they saw no sign of radicalisation and have accused French authorities of seeking to justify their shooting with false allegations.

But a Twitter account believed to belong to el-Hamahmy, which has since been suspended by the social network, expresses support for an “Islamic state” shortly before the attack.

A series of tweets posted in Arabic between 9.27am and 9.34am local time, minutes before the assault was launched, call for people to “fight in the cause of Allah and kill”.

”In the name of Allah the merciful... for our mujahedeen brothers in Syria and across the world,“ one tweet reads.

“Why are they afraid of the creation of an Islamic state?” another post asks. “Because the state of Islam defends its resources and the honour of Muslims...they are struggling for the sake of God and do not fear anybody.”

The messages did not refer to Isis by its Arabic acronym, Daesh, but used the phrase “Dawlat al-Islam”, which is commonly used to refer to the group’s territories by its supporters.

The only tweet in English took aim at Donald Trump, calling the US President “Donald Duck”.

Terrorism in 2016: Terror attacks in Europe claimed by Isis Show all 9 1 /9 Terrorism in 2016: Terror attacks in Europe claimed by Isis Terrorism in 2016: Terror attacks in Europe claimed by Isis Policemen outside Rouen's cathedral during the funeral of Jacques Hamel, the priest who was killed in a church in Saint-Etienne-du-Rouvray in Normandy on 26 July during a hostage-taking claimed by Islamic State group Joel Saget/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis Two jihadists, both 19, slit Hamel's throat while he was celebrating mass in an attack that shocked France as well as the Catholic Church Joel Saget/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis Muslims place flowers and hold a minute of silence in front of the church if Saint-Etienne-du-Rouvray, western France, where French priest Jacques Hamel was killed on 26 July Charly Triballeau/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis Two people hold each other by the new makeshift memorial in Nice, in tribute to the victims of the deadly Bastille Day attack at the Promenade des Anglais Valery Hache/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis The Islamic State group claimed responsibility for the truck attack that killed 84 people in Nice on France's national holiday. Mohamed Lahouaiej-Bouhlel, 31, smashed a 19-tonne truck into a packed crowd of people in the Riviera city celebrating Bastille Day Valery Hache/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis Police work at a site where a Syrian migrant set off an explosive device in Ansbach, southern Germany, on 25 July, killing himself and wounding a dozen others Daniel Roland/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis A Syrian migrant set off an explosion at a bar in southern Germany that killed himself and wounded a dozen others in the third attack to hit Bavaria in a week. The 27-year-old, who had spent a stint in a psychiatric facility, had intended to target a music festival in the city of Ansbach but was turned away because he did not have a ticket Friebe/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis Police officers walk along train tracks in Wuerzburg southern Germany on 19 July, a day after a man attacked train passengers with an axe. German authorities said they had found a hand-painted IS flag among the belongings of the man, an asylum seeker from Afghanistan, who seriously injured four members of a family of tourists from Hong Kong in his rampage Daniel Roland/AFP/Getty Images Terrorism in 2016: Terror attacks in Europe claimed by Isis German police killed a teenage assailant after he attacked passengers on a train in Wuerzburg, southerg Germany with an axe and a knife on 18 July, seriously wounding three people Karl-Josef Hildenbrand/AFP/Getty Images

The tirade ended with a message reading: “No negotiation, no compromise, no letting up, certainly no climb down, relentless war.”

A tour guide told Le Parisien el-Hamahmy had visited Le Louvre five days before his attack, spending three hours inside the world’s most visited museum.

“I recognised him after seeing his face in the media,” the man said, adding that el-Hamahmy had used his real name and entered through the same staircase where he was shot.

“I clearly remember asking him where he came from. He replied that he was an Egyptian…he seemed very interested in the visit, especially by the department of Egyptian antiquities.”

Egyptian officials said local security agencies were gathering information on el-Hamahmy to help establish if he was a member of any militant groups or had been radicalised.

Prosecutors in Paris said they would ask investigating judges to file preliminary charges of “attempted terrorist murders” and “terrorist criminal conspiracy” once his medical condition has improved.

