Barcelona's chief rabbi has urged Jews to move to Israel because "Europe is lost" to radical Islam.
Meir Bar-Hen has been encouraging his congregation to flee Spain, which he called a "hub of Islamist terror for all of Europe."
The chief rabbi's warning came after a terror attack in Barcelona left 13 people dead and over 120 wounded and was followed by another attack hours later that killed one person and injured others in the seaside town of Cambrils.
Isis claimed responsibility for both attacks, which authorities believe were the work of a large terrorist cell that had been plotting for some time.
Mr Bar-Hen said: "Jews are not here permanently.
“I tell my congregants: Don’t think we’re here for good. And I encourage them to buy property in Israel. This place is lost. Don’t repeat the mistake of Algerian Jews, of Venezuelan Jews. Better [get out] early than late.”
He went on to say the attacks had exposed the presence of "radical fringes" within the Muslim community, a problem he said applied to Europe as a whole.
"Europe is lost," he added.
His comments were at odds with the Federation of Jewish Communities of Spain, which said it had "full confidence in security forces who work daily to prevent fanatics and radical Muslims from inflicting pain and chaos on our cities."
Police in Catalonia are searching for Younes Abouyaaquoub, a 22-year-old Moroccan suspected of carrying out the attack in Barcelona.