Updated

A Chechen immigrant on France's extremist watchlist allegedly stabbed a teacher to death Friday morning and wounded two others in a suspected terror attack that the country's president called an assassination.

It happened outside a school in the city of Arras, about 115 miles north of Paris, near the border with Belgium, and a suspect is in custody, according to France Interior Minister Gerald Darmanin.

French President Emmanuel Macron said during a news briefing that police also stopped a second attempted attack after the stabbing, which he said shows "the barbarism of Islamic terrorism."

A bystander recorded part of the attack on cellphone video. It appears to have been taken from an upstairs window and shows a violent altercation in a paved courtyard. It shows a group of men struggling – one of whom is holding a chair who falls down. 

ISRAELI PM'S OFFICE RELEASES GRAPHIC PHOTOS PURPORTING TO SHOW HAMAS ‘MURDERED AND BURNED’ BABIES

France Attack split blurred

Left: A still image from cellphone video that recorded part of the attack. Right: Riot police officers patrol the area after a man armed with a knife killed a teacher and wounded two others at a high school in northern France, Friday, Oct. 13, 2023 in Arras. Antiterror prosecutors said they were leading the investigation into the attack at the Gambetta high school in the city of Arras, some 115 miles north of Paris. (Reuters, AP Photo/Michel Spingler)

The attacker kicks him as onlookers warn, "He has a knife," according to a Reuters translation of the clip.

Another man picks up the chair from the one who fell and appears to try and scare off the attacker, but he slips. The assailant then jumps on him, swinging several times at his face and chest. The victim stands up, stumbles for a few feet and then collapses as the clip ends.

"A teacher has been killed, there are two wounded, [and] it is a grave situation," Macron said, according to a translation of his remarks in French. "They are struggling not to die."

One of the wounded was a school administrator who also attempted to intervene and was "gravely injured," Macron said. He praised the victims for their heroics.

GRAPHIC VIDEO: Eyewitness video show 2 teachers trying to stop French school knife attack

This teacher was cowardly and savagely assassinated.

— French President Emmanuel Macron

The 20-year-old suspect was already on a terror watchlist, according to AFP, which cited a police source who said he shouted the Arabic phrase "Allahu Akbar!" during the attack.

FRANCE ARRESTS 24 FOR ANTISEMITIC ACTS SINCE HAMAS ATTACKED ISRAEL

Forensic investigators in protective suits at the school crime scene

French police officers from the forensic service stand in front of the Gambetta high school in Arras, northeastern France, after a man armed with a knife killed a teacher and wounded another teacher and a security guard, an attack being investigated as potential terrorism, Friday Oct. 13, 2023. (Ludovic Marin, Pool via AP)

Sliman Hamzi, a police officer identified as one of the first on scene, told The Associated Press he heard the phrase as well and that the attacker was a former student of the Lycee Gambetta High School, where the attack took place.

"This teacher was cowardly and savagely assassinated," Macron told reporters. "Our thoughts are with the teacher's family and the families of those two wounded."

The suspect was identified as Mohammed Mogouchkov by La Voix du Nord, a newspaper based in northern France.

The French reports noted that the knife attack happened just shy of three years to the day of the beheading of another French teacher, Samuel Paty, who was also killed by a radicalized Chechen.

Heavily armed police stand guard as children are escorted to safety

Schoolchildren leave the area after a man armed with a knife killed a teacher and wounded two others at a high school in northern France, Friday, Oct. 13, 2023 in Arras. Antiterror prosecutors said they were leading the investigation into the attack at the Gambetta high school in the city of Arras, some 115 miles north of Paris. (AP Photo/Michel Spingler)

"When he turned around and asked me if I am a history teacher, I immediately thought of Samuel Paty," philosophy teacher Marin Doussau, who said he fled from the suspect and barricaded himself behind a door until police arrived, told The Associated Press.

French authorities said they suspect terror as a motive in the attack, which comes amid a raging conflict in Israel following a terror-fueled attack by Hamas terrorists based in the Gaza Strip.

CLICK HERE TO GET THE FOX NEWS APP 

On Thursday, Darmanin ordered a country-wide ban on demonstrations in support of the Palestinians. 

At least 24 people have been charged with antisemitic acts in the country since the Hamas attack on Israel last week.

Fox News' Jasmine Baehr, Emily Robertson and The Associated Press contributed to this report.