Denmark’s small but vibrant Jewish community rebuffed Israel’s call to emigrate on Sunday after an attack on Copenhagen’s main synagogue that shook the sense of security Scandinavian tolerance had long provided.

Jewish communities around Europe have been reporting rising hostility against them and an attack last month on a Paris kosher supermarket killed four Jews, prompting the UN to say that anti-Semitism was thriving in Europe. That assault came two days after Islamist militants gunned down 12 people at the weekly Charlie Hebdo, which had published cartoons mocking the prophet Muhammad.

As in the French case, Israeli Prime Minister Benjamin Netanyahu told Denmark’s 2,500 Jews they would be welcome in his country: “Israel is your home,” he said in Jerusalem.

“We appreciate the invitation, but we are Danish citizens, this is our country,” Dan Rosenberg Asmussen, chairman of the Jewish Society in Denmark, said as he offered condolences to mourners at the synagogue.

Danish police have not identified the gunman, who was killed in a shootout on Sunday, but said the attacks may have been inspired by the violence in Paris.

“I feel just as safe on the streets today as I did the day before yesterday,” said Jewish community member Bent Bograd as he laid flowers at the synagogue. “We can’t do anything about it, and it’s a risk that exists.”

Denmark has welcomed Jews for centuries and most of the community survived the Holocaust, despite Nazi occupation, as Danes helped them flee to safety in neighbouring Sweden.

Only a fraction of the community returned but it enjoyed a long period of tranquillity. But tensions rose last year during Israel’s war with Hamas militants in Gaza. Copenhagen’s 210-year-old Jewish school was vandalised in August when its windows were broken and walls covered with anti-Semitic graffiti.

Yair Melchior, Copenhagen’s chief rabbi, flatly rejected the idea that Jews should leave Denmark.

“The terrorists must not control our lives,” Melchior said. “We need to concentrate on living our lives as normally as possible after this difficult situation. The Jewish community in Copenhagen is strong.”

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.