The hate-filled, anti-Semitic gunman, who shot dead two people while attempting to massacre worshipers inside a synagogue on Yom Kippur, posted a manifesto online about “anti-whites” just days before the attack.

The shooter, 27-year old Stephan Balliet, who allegedly went on a murderous spree in the eastern German city of Halle on Wednesday, declared in the manifesto his plans to gun down the synagogue and kill “anti-whites.”

The 10-page long manifesto, which was published online as a PDF document, contains photographs of weapons and ammunition Balliet used during the attack. It also explicitly details Balliet’s plan to gun down the synagogue on Yom Kippur, the holiest day on the Jewish calendar.

According to The Independent, Balliet wrote a screed tirade on a German message board, admitting he deliberately chose a synagogue on Yom Kippur, but had “originally planned to storm a mosque or an antifa ‘culture’ centre.”

Approximately 80 Jews, 10 of which were American, were held hostage inside the synagogue by Balliet as surveillance cameras displayed an overview of the attack on televisions inside the house of worship.

A man who helped barricade the door to the prayer room off from the shooter’s access, Roman R., told local media the worshippers were in the middle of praying when they were interrupted by a bang.

Roman said he looked into the hallway and saw smoke contaminating the building, directed all attendees in the synagogue to take refuge in the barricaded prayer room, including children and the elderly, called the police, then prepared to fend off the predator.

Max Privorotzki, a Jewish community leader, detailed the horrifying moments he spent in the synagogue as Balliet tried to make his way into the building.

“We saw through the camera of our synagogue that a heavily armed perpetrator wearing a steel helmet and rifle was trying to shoot open our door,” he told Stuttgarter Zeitung.

“We barricaded our doors from inside and waited for the police,” he said, adding, “In between, we carried on with our service,” he added.  

Wearing a helmet, tactical gear, and a body camera, Balliet attempted to enter the synagogue by using explosives to blow down the front doors, but the explosives failed to ignite.

Irked by his failed efforts, Balliet is heard calling himself “loser” in the video he live-streamed and at one point said: “I have certainly managed to prove how absurd improvised weapons are.”

The gunman is also heard on footage denying the Holocaust and blaming Jews for being “at the root of problems” in Western societies.

When his plans to attack the synagogue failed, he shot dead a female passerby and opened fire in a kebab shop around the corner, killing a man and wounding several others.

He again tried to enter the synagogue, laying down bombs from another side of the building, but police arrived and disarmed the explosives as Balliet stole a taxi to flee the scene.

The madman then jetted off to a nearby city but was confronted by police and ultimately captured after he was injured in a gun battle.

Balliet on Thursday arrived at German federal court via police helicopter in a white prison jumpsuit, handcuffs, and shackles on his legs. According to federal prosecutors, Balliet wanted to committed a “massacre” and kill as many people as possible.

Balliet reportedly lived alone with his mother, but regularly spent time with his father who lived nearby. He lived with both of his parents until they divorced in 2004.

The anti-Semitic shooter spent exorbitant amounts of his time online and shared footage of his killing spree on Twitch, a popular Amazon-owned video platform live-streaming service, the Daily Mail reports. Footage of the rampage streamed live on the online platform for approximately 35 minutes.

In an interview with Bild, a German publication, Balliet’s father said he last spent time with his son on Tuesday, the day before he went on the killing rampage. The gunman’s father, who reportedly began weeping when asked questions about the massacre, said Balliet was irrational and bellicose during their visit, but did not disclose details of their conversation.

“There was always a fight, my opinion did not count,” he said. “I couldn’t reach him anymore.”

Balliet suffered from “deep-rooted anger issues,” his father said.

He “was not at peace with himself or with the world and always blamed everyone else for his problems,” said the father, who spoke under the condition of anonymity.