A man who had been flagged as a possible extremist sprayed gunfire near the city of Strasbourg's famous Christmas market Tuesday, killing three people, wounding up to a dozen and sparking a massive manhunt. France immediately raised its terror alert level.
It was unclear if the market — a popular gathering place that was the nucleus of an al-Qaida-linked plot in 2000 — was the intended target. The assailant got inside a security zone around the venue and opened fire from there, Mayor Roland Ries said on BFM television.
Authorities did not give a motive for the shooting, though prosecutors said they had opened a terrorism investigation. Strasbourg, on France's eastern border, is home to the European Parliament, one of several places that was locked down after the shooting.
U.S. & World
Stories that affect your life across the U.S. and around the world.
Authorities said they had identified a suspect. The prefect of the Strasbourg region said the man was on a watch list of people who had potentially been radicalized.
Interior Minister Christophe Castaner, who traveled to Strasbourg, said the suspect, not named, had been convicted in both France and Germany for crimes unrelated to terrorism and served time. He did not elaborate.
Hours before the shooting, French gendarmes went to the suspect's home to arrest him, but he wasn't there, Stephane Morisse of police union FGP said. They found explosive materials during a search, he said.
France, where most of Europe's worst terror attacks of recent years took place, was raising its terror alert level and sending security reinforcements to Strasbourg, Castaner said early Wednesday.
The attack came two years after a Tunisian man drove a hijacked truck into a busy Berlin Christmas market, killing 12 people. Strasbourg, which promotes itself as the "Capital of Christmas," on the border with Germany, about 500 kilometers (310 miles) east of Paris. The market, France's largest, is set up around the city's cathedral during the Christmas season.
Some 350 security forces and two helicopters were searching for the assailant, who had been radicalized for "several years" and confronted law enforcement officers twice, exchanging fire, while he "sowed terror," Castaner said.
The death toll stood at three early Wednesday, the minister said. Two police union officials said earlier there were four victims. Officials did not explain the conflicting numbers.
More than seven hours after the bloodshed, the regional prefect said that 11 other people had been injured, five seriously, downgrading the minister's earlier count of 12 injured.
The shooter was also shot and wounded by soldiers guarding the Christmas market, according to Stephane Morisse of police union FGP.
French military spokesman Col. Patrik Steiger said the shooter didn't seem to be aiming at soldiers patrolling in and around the market, but appeared to target civilians instead.
Witnesses described hearing gunshots, screams and shouts of police officers ordering people to stay indoors before the area fell silent and the officers fanned out.
"I heard two or three shots at around 7:55 p.m. (1855 GMT), then I heard screams. I got close to the window. I saw people running. After that I closed the shutters. Then I heard more shots, closer this time," Yoann Bazard, 27, who lives in central Strasbourg.
"I thought maybe it's firecrackers," he said, speaking by phone. "And then, as it got close, it was really shocking. There were a lot of screams. ... There were police or soldiers shouting 'Get inside!' and 'Put your hands on your head.'"
Freelance journalist Camille Belsoeur was at a friend's apartment when they heard the gunfire, which she at first mistook for firecrackers.
"We opened the window. I saw a soldier firing shots, about 12 to 15 shots," Belsoeur said,
Other soldiers yelled for people to stay indoors and shouted 'Go home! Go home!'" to those outside, he said.
Another witness, Peter Fritz, told the BBC one of the four people killed was a Thai tourist who was shot in the head and didn't respond to lengthy attempts to revive him.
"We tried our best to resuscitate him. We applied CPR. We dragged him into a restaurant close by," Fritz said.
He said it took more than 45 minutes for an ambulance to arrive, during which time an emergency doctor advised by telephone "that any further efforts would be futile."
The victim "is still here in this restaurant but we have abandoned all hope for him," Fritz said.
France has been hit in recent years with high-profile extremist attacks, including the coordinated attacks at multiple Paris locations that killed 130 people and wounded hundreds in November 2015. A 2016 truck attack in Nice killed dozens.
President Emmanuel Macron adjourned a meeting at the presidential palace Tuesday night to monitor the emergency, his office said, and at midnight presided over a meeting at the Interior Ministry's crisis center.
The Paris prosecutor, in charge of anti-terror probes in France, was also in Strasbourg. The prosecutor's office said the investigation was being conducted on suspicion of murder and attempted murder in relation with a terrorist enterprise charges, suggesting officials do not exclude links between the shooter and an extremist cell.
Authorities had urged the public to remain indoors at the height of the drama, and people out dining were kept in restaurants for hours, along with lawmakers at the European Parliament, and thousands at a sports stadium. They eventually were allowed to leave, with those with nowhere to go housed at a gymnasium, the prefect tweeted.
The market was closed Wednesday and festivities cancelled in a sign of mourning, Mayor Roland Ries said. Flags in Strasbourg were ordered at half-staff.
The attack revived memories of a new millennium terror plot targeting Strasbourg's Christmas market. Ten suspected Islamic militants were convicted and sentenced to prison in December 2004 for their role in a plot to blow up the market on the New Year's Eve ushering in 2000..
The Algerian and French-Algerian suspects — including an alleged associate of al-Qaida leader Osama bin Laden — went on trial in October on charges they were involved in the foiled plot for the attack.
They were sentenced to prison terms ranging from one to nine years.
Associated Press writers John Leicester and Angela Charlton contributed to this report.