The Palestinian Islamist group Hamas launched the biggest attack on Israel in years on Saturday in a surprise assault that combined gunmen crossing into several Israeli towns with a heavy barrage of rockets fired from the Gaza Strip.

Israel said it was on a war footing and began its own strikes against Hamas targets in Gaza, with Israeli media reporting gun battles between bands of Palestinian fighters and security forces in southern Israel.

Here is reaction to the attack from around the world.

EGYPTIAN FOREIGN MINISTRY

Egypt warned of "grave consequences" from an escalation in tensions between Israel and the Palestinians, in a statement from the foreign ministry carried by the state news agency.

It called for "exercising maximum restraint and avoiding exposing civilians to further danger".

FRENCH PRESIDENT EMMANUEL MACRON

French President Emmanuel Macron said on Saturday that he strongly condemned the terrorist attacks against Israel.

"I express my full solidarity with the victims, and their families and those close to them," Macron wrote on social media platform X, formerly known as Twitter.

GERMAN FOREIGN MINISTER ANNALENA BAERBOCK

German Foreign Minister Annalena Baerbock said she strongly condemned the Hamas attack against Israel.

"Violence and rockets against innocent civilians must stop now. We stand in full solidarity with Israel and its right under international law to defend itself against terror," Baerbock said on X.

BRITISH FOREIGN MINISTER JAMES CLEVERLY

"The UK unequivocally condemns the horrific attacks by Hamas on Israeli civilians. The UK will always support Israel’s right to defend itself," Foreign Minister James Cleverly said in a social media post.

URSULA VON DER LEYEN, PRESIDENT OF THE EUROPEAN COMMISSION

"I unequivocally condemn the attack carried out by Hamas terrorists against Israel. It is terrorism in its most despicable form. Israel has the right to defend itself against such heinous attacks," she posted on X.

EUROPEAN UNION FOREIGN POLICY CHIEF JOSEP BORRELL

"We follow with anguish the news coming from #Israel. We unequivocally condemn the attacks by Hamas. This horrific violence must stop immediately. Terrorism and violence solve nothing," Borrell posted on X.

TURKISH PRESIDENT TAYYIP ERDOGAN

"We call for restraint from all parties," Erdogan said at a congress for his ruling AK Party in Ankara. "They must refrain from aggressive acts," he said.

DUTCH PRIME MINISTER MARK RUTTE

"Just spoke with Prime Minister @netanyahu about the unprecedented attack by Hamas on Israel. I told him that the Netherlands unequivocally condemns this terrorist violence and fully supports Israel’s right to defend itself," Rutte said on social media.

RUSSIAN DEPUTY FOREIGN MINISTER MIKHAIL BOGDANOV

Russia is in contact with Israel, the Palestinians and Arab countries in connection with the escalation of the Israeli-Palestinian conflict, the Interfax news agency reported, citing Deputy Foreign Minister Mikhail Bogdanov.

"It goes without saying that we always call for restraint," he said.

HEZBOLLAH

The Iran-backed Lebanese group Hezbollah, an arch foe of Israel, issued a statement on Saturday saying it was closely following the situation in Gaza and was in "direct contact with the leadership of the Palestinian resistance".

Following events involving Gaza militants who fired a barrage of rockets into Israel, the statement added that it was a "decisive response to Israel's continued occupation and a message to those seeking normalisation with Israel".

UKRAINIAN FOREIGN MINISTRY

"Ukraine strongly condemns the ongoing terrorist attacks against Israel, including rocket attacks against the civilian population in Jerusalem and Tel Aviv," the ministry said on X.

"We express our support for Israel in its right to defend itself and its people."

POLISH FOREIGN MINISTER ZBIGNIEW RAU

"I strongly condemn Hamas' ongoing attacks on Israel. This baseless aggression and acts of violence, especially against civilians, are unacceptable. Our thoughts and prayers are with everyone affected by these terrible events," Rau wrote on X.

CZECH PRESIDENT PETR PAVEL

"The attack conducted from the Gaza Strip is a deplorable act of terrorism against the State of Israel and the civilian population," Pavel said in a statement

"The rocket attacks and the infiltration of Hamas commandos into Israel will block any efforts for a peaceful solution to the Palestinian-Israeli conflict for a long time."

Israeli Prime Minister Benjamin Netanyahu postponed a trip to the Czech Republic, a long-time Israel ally, following the hostilities, a statement from the Czech presidential office said.

BELGIAN FOREIGN AFFAIRS MINISTER HADJA LAHBIB

"Belgium strongly condemns the massive rocket attacks against Israeli civilians. Violence and terror only perpetuates suffering and hinders the path to dialogue. Our thoughts are with all those affected. We are monitoring the situation closely," she said on X.

GREEK FOREIGN MINISTRY

"Greece strongly condemns today's launch of heavy rocket attacks from Gaza against Israel. Greece stands with Israel and is deeply concerned by this unacceptable escalation of violence," the ministry posted on X.