Inspired by radical Islam and trained in Afghanistan, the gunman methodically killed French schoolchildren, a rabbi and paratroopers and faced down hundreds of police for 32 hours.

Then he leapt out a window as he rained down gunfire and was fatally shot in the head.

France will not be the same after Mohamed Merah, whose deeds and death could change how authorities track terrorists, determine whether French Muslims face new stigmas and even influence who becomes the next French president.

The top priority for investigators now is determining whether Merah, who claimed allegiance to al Qaida, was the kind of lone-wolf terrorist that intelligence agencies find particularly hard to trace, or part of a network of homegrown militants operating quietly in French housing projects, unbeknownst to police.

Either way, French authorities are facing difficult questions after acknowledging that Merah, a 23-year-old Frenchman of Algerian descent, had been under surveillance for years and that his travels to Afghanistan and Pakistan were known to French intelligence - yet he was not stopped before he started his killing spree on March 11.

Merah had been on a US no-fly list since 2010.

"One can ask the question whether there was a failure or not," French Foreign Minister Alain Juppe said on Europe 1 radio. "We need to bring some clarity to this."

Photo: Thibault CamusPhoto: Thibault Camus

Three Jewish schoolchildren, a rabbi and three paratroopers died in France's worst Islamist terrorist violence since a wave of attacks in the 1990s by Algerian extremists.

Merah filmed all three attacks, Prosecutor Francois Molins said, and claimed to have posted them online.

"You killed my brother; I kill you," he said in the video of the first attack, in which one French paratrooper died, Mr Molins said.

"Allah Akbar," (God is Great), he declared during the second, when two more soldiers were killed.

The prosecutor said Merah told police he wanted to "bring France to its knees".

"While the facts concerning the three killings have been clearly elucidated, and Mohamed Merah carries full responsibility, the investigations are not finished," he said.

Authorities are trying to determine whether Merah's 29-year-old brother, Abdelkader, was involved, and are searching for accomplices who might have encouraged Merah to kill or furnished the means to do so, Mr Molins said.

Merah espoused a radical form of Islam and had been to Afghanistan and the Pakistani militant stronghold of Waziristan, where he claimed to have received training from al Qaida.

He also had a long record of petty crimes in France for which he served time in prison, and prosecutors said he started to radicalise behind bars.

Merah told negotiators he killed to avenge the deaths of Palestinian children and to protest against the French army's involvement in Afghanistan as well as France's law against the Islamic face veil.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.