A 'far-right extremist' has been arrested for plotting to shoot French President Emmanuel Macron in front of Donald Trump on Bastille Day.

The plot, by the unnamed 23-year-old Frenchman, was foiled when he tried to get hold of a Kalashnikov assault rifle online.

Prosecuting sources in the French capital said the man was from the 'extreme-right' and wanted to murder Mr Macron, as well as 'blacks, Arabs, Jews and homosexuals'.

He was indicted with terrorism offences last Saturday, with details of the case released today.

A 'far-right extremist' has been arrested for plotting to shoot French President Emmanuel Macron in front of Donald Trump on Bastille Day. Macron and the US President are pictured shaking hands at a meeting in Brussels in May

The suspect, who comes from the Paris area, planned to target Mr Macron as he took the salute at the Bastille Day celebrations on July 14.

President Trump will be this year's guest of honour on France's national day, which recalls the storming of the Bastille fortress during the French Revolution of 1789.

One of the biggest security operations in French history will unfold on the Champs Elysee and the Place de la Concorde for the event, which will involve thousands of French and American troops.

The would-be attacker mentioned his search for a weapon on a video games forum that was being monitored by intelligence officers.

When anti-terrorism police turned up at his flat in the suburb of Argenteuil last Wednesday, he threatened them with a kitchen knife.

The suspect, who comes from the Paris area, planned to target Mr Macron as he took the salute at the Bastille Day celebrations on July 14. Bastille Day celebrations in Paris last year are pictured above

He was overpowered and placed in custody, while searches of his car found further weapons.

Prosecuting sources told the RMC radio station that the man was 'psychologically disturbed but determined'.

This morning, it emerged that the suspect received a three year prison sentence last year for 'condoning terrorism' and 'spreading racist hate', 18 months of which were suspended.

Data on his computer revealed that he was an apologist for neo-Nazi mass murderer Anders Behring Breivik, who killed 77 people in a bomb and gun attack in Norway in 2011.

Three kitchen knives were found in man's car.

His profile was said to resemble that of Maxime Brunerie, who fired at President Jacques Chirac during the Bastille Day parade in 2002.

Brunerie was a neo-Nazi who was sentenced to ten years in prison before being released in 2009.

The OAS Secret Army Organisation also regularly plotted to assassinate President Charles de Gaulle as they campaigned against the loss of the French colony of Algeria in the early 1960s.

The antics of the far-Right terrorist group, which was mainly made up of army and police officers, were fictionalised in the Frederick Forsyth novel 'The Day of the Jackal'.

It was made into a hit film staring Edward Fox as the assassin and Michel Lonsdale as the detective who foils him.

President Macron, who became president in May aged only 39, has already received a number of death threats, including ones contained in menacing letters and emails.

France remains under a State of Emergency following a series of attacks by Islamic State and al-Qaeda, including one in Paris in November 2015 in which 130 people were killed.