BERLIN (AP) — Thousands of people in Berlin protested against anti-Semitism on Sunday, days after a man attacked a synagogue in the eastern German city of Halle.

About 10,000 people participated in the march through the German capital. Several thousand others protested Saturday in other cities including Hamburg and Marburg.

In contrast to the party atmosphere at previous @Unteilbar_ protests against the far right, #b1310 was a solemn affair, in light of the victims of Wednesday's anti-Semitic attack in Halle that left two dead and two wounded. pic.twitter.com/y2rOq91HHW — William Noah Glucroft (@wnglucroft) October 13, 2019

Many Germans are in shock over Wednesday’s attack in which two people were killed outside the synagogue and in a kebab shop. The attack has renewed concerns about rising far-right extremism and questions about the slow police response.

The 27-year-old, heavily armed suspect identified as Stephan B. tried but failed to enter the house of worship on Yom Kippur, Judaism’s holiest day. The suspect, who livestreamed his attack online, has been charged with two counts of murder and nine of attempted murder.

Paul Zinken/dpa/Picture Alliance via Getty Images People participate in a demonstration against anti-Semitism at Bebelplatz square on October 13, 2019.

On Sunday, people started their march at a symbolic landmark, Berlin’s Bebelplatz square, where the Nazis burnt thousands of books by Jews, Communist and other opponents, weeks after Adolf Hitler took power in 1933.

The marchers carried Israeli flags and banners with slogans like “No Nazis” or “Far-right terror threatens our society.”

The rally was organized by the civil rights group Unteilbar, or “Indivisible,” under the slogan “We stand united” and ended at the city’s New Synagogue with its famous golden dome topped by a Star of David.

Paul Zinken/dpa/Picture Alliance via Getty Images A demonstrator with a large wooden star of David over his shoulder participates in a protest against anti-Semitism.

Friedhelm Schmitt, a 52-year-old neurologist, said he’d joined the protest “because I had to. It’s my democratic duty. It’s like going to vote.”

German prosecutors have said the suspect wanted to carry out a “massacre” in the synagogue and had about four kilograms (nearly nine pounds) of explosives in his car.

Paul Zinken/dpa/Picture Alliance via Getty Images Hannah (26) and Kemo (30) hold posters with the inscription "No to Antisemitism and Racism" and "United in Diversity - #Indivisible" at a demonstration against anti-Semitism.

He unsuccessfully tried for several minutes to enter the house of worship, where more than 50 people were attending a prayer service, but the door withstood his shots. He then killed two people and severely injured a couple before he was detained by police.

Police have been criticized because they arrived at the synagogue seven minutes after they were alerted to the shooting.