Paris authorities said Monday a 23-year-old man was arrested and charged with plotting to assassinate French President Emmanuel Macron during President Trump's visit to the country next week.

French investigators said the man planned to attack Macron on Bastille Day, July 14, during a parade taking place on the Champs-Elysees in Paris, according to CNN.

Trump is going to be a guest of honor at the parade, and the White House confirmed last week the president would be traveling to France in celebration of Bastille Day and commemoration of the 100th anniversary of America's entry into World War I.

Police arrested the man Wednesday in a suburb of northwest Paris. He was charged Saturday with "individual terrorist activity."

According to a CNN affiliate, the 23-year-old suspect is a self-described far right nationalist. He told police he wanted to make a political statement by assassinating Macron, and also wanted to attack "blacks, Arabs, Jews and homosexuals," according to police documents BFMTV, the CNN affiliate, saw.

Users of a video game site alerted law enforcement to the suspect, who posted on message boards that he wanted to buy a Kalashnikov-type weapon to carry out the attack.

The 23-year-old was convicted of terror-related activity in 2016, CNN reported.

Police said it's too early to say whether the suspect is tied to a wider network.

During Bastille Day festivities last year in Nice, France, 86 people were killed when a man deliberately drove a truck into crowds during the celebration.