Reda Abdullah al-Hamamy, the father of Abdullah Reda al-Hamamy who is suspected of attacking a soldier in Paris' Louvre museum, holds a picture of his son during an interview with Reuters in Daqahliya, Egypt, February 4, 2017. REUTERS/Mohamed Abd El Ghany

PARIS (Reuters) - A man arrested by police for attacking soldiers with a machete outside the Louvre museum in Paris last week said he wanted to damage paintings and “avenge” the Syrian people, a judicial source said on Tuesday.

Abdullah Reda al-Hamahmy confirmed his name, his age of 29 and his Egyptian nationality to investigators after initially refusing to speak, the source said.

He was carrying spray paints in his backpack and said he wanted to damage the paintings at the world-famous museum, the source said, adding that the suspect’s statements should be taken with caution.

The suspect also spoke of wanting to “avenge the Syrian people”, the source said, referring to the civil war in that country in which hundreds of thousands of people have been killed and millions displaced.

Hamahmy was shot several times on Friday after attacking soldiers as he cried “Allahu Akbar” in what French President Francois Hollande described as a terrorist attack.

He has been in hospital since the attack and late on Tuesday his police custody was lifted as his health had “greatly deteriorated” during the day, the source said, without elaborating.

France, which is preparing for a presidential election in April and May, remains under a state of emergency following a series of attacks by militant Islamists over the past two years in which more than 230 people have been killed.