The German suspect in a deadly attack targeting a synagogue has admitted to the shooting rampage, confessing it was motivated by anti-Semitism and right-wing extremism, federal prosecutors said Friday amid government warnings of an "elevated" risk of further attacks.

Stephan Balliet, 27, made a "very comprehensive" confession during an interrogation lasting several hours, said a spokesman for the federal prosecutor's office in Karlsruhe.

"He gave an extensive confession. He confirmed far-right and anti-Semitic motives" for the attack, the spokesman said.

Germany's Interior Minister Horst Seehofer warned meanwhile in a ZDF television interview that there was now an "elevated" threat of another anti-Semitic or terrorist attack saying around half of 24,000 suspected far-right extremists had an "affinity" with firearms and could engage in violence.

Stephan Balliet has been described by neighbours as a loner who spent much of his time on a computer
Stephan Balliet has been described by neighbours as a loner who spent much of his time on a computer dpa / Uli Deck

Seehofer warned that more attacks could happen "at any moment" and that Berlin was taking the matter most seriously and was "extremely alert".

Balliet is accused of shooting dead two people in the eastern German city of Halle on Wednesday, after he tried and failed to storm a synagogue.

Two people were seriously hurt in the assault.

The man, who was described by neighbours and his father as a loner who spent much of his time at a computer, had filmed and live-streamed the assault.

The victims, a German man and woman, appeared to be chosen at random when the assailant failed to gain access to the synagogue he had besieged with gunfire and homemade explosives, as the frightened congregation barricaded itself inside.

Jewish leaders have demanded authorities to do more to protect the community
Jewish leaders have demanded authorities to do more to protect the community DPA / Hendrik Schmidt

Police eventually captured Balliet after a gun battle that left him wounded.

Balliet's lawyer Hans-Dieter Weber told public broadcaster Suedwestrundfunk that his client stood by his actions.

"It would be nonsensical to deny it, and he didn't do that," said Weber.

"In his view of the world, he blames others for his own misery and that's what ultimately triggered his action."

AFPTV / Marion PAYET, Marion PAYET


Balliet's confession came as Jews prepared to mark the Sabbath from sundown, with other gatherings to show solidarity planned across the country, including at the synagogue targeted in Halle.

Hours ahead of the Sabbath, Max Privorozki, who heads the Jewish community in Halle, said Jews would not allow themselves to be intimidated by the assault.

Around 50 people were in the synagogue to mark the holy Jewish day of Yom Kippur, when the assailant had tried to shoot his way in.

Armed with weapons he is believed to have built himself and along with four kilos (nine pounds) of explosives in his car, Balliet began his rampage at noon.

Throughout a video the shooter made of his actions using a helmet-mounted smartphone, his rage bubbles to the surface, when he calls himself a "failure" and a "loser".

'Massacre planned'

Investigators searching Balliet's father's apartment found a 3-D printer, which could have been used to manufacture firearms, according to Spiegel magazine.

Police have also confiscated a hard-drive from his bedroom in the apartment he shared with his divorced mother.

Spiegel revealed that Balliet had learned to handle a assault rifle during six months of military service in 2010 and 2011, when he was 18.

"Retrospectively we can be glad he did not learn much in the army otherwise he could have killed many more people in Halle," Spiegel quoted an army source as saying.

Federal prosecutor Peter Frank called the act "terror" and said it had been planned to be a "massacre".

Noting that it was only thanks to the Halle synagogue's own security measures that the assailant had been kept from penetrating the temple, Jewish leaders have demanded authorities to do more to protect the community.

Germany has taken pride in the rebirth of Jewish life since the Nazis' World War II slaughter of six million Jews across Europe.

The community has grown to about 225,000 thanks in large part to an influx from the ex-Soviet Union after the fall of the Berlin Wall.