BRUSSELS — The European Union unanimously agreed on Monday to impose new sanctions on the leaders of the Palestinian militant group Hamas and the Israeli settler movement. Foreign ministers of the 27-nation bloc, meeting in Brussels, stopped short of endorsing stronger economic measures against the Israeli government.

The bloc has yet to settle on which organizations and individuals will be targeted, and a committee will finalize the draft list. EU diplomats failed to agree on measures such as banning products from Israeli settlements in the West Bank or suspending a key trade agreement to pressure Israel.

EU foreign policy chief Kaja Kallas said ministers agreed that extremism and violence should carry consequences. "It was high time we move from deadlock to delivery," Kallas said.

French Foreign Minister Jean-Noël Barrot said the ministers decided to sanction Hamas leaders and both leaders and organizations in the Israeli settler movement in the occupied West Bank. "These most serious and intolerable acts must cease without delay," Barrot said. He described the action as "It is sanctioning the main leaders of Hamas, responsible for the worst antisemitic massacre in our history since the Shoah during which 51 French people lost their lives, a terrorist movement that must imperatively be disarmed and excluded from any participation in the future of Palestine."

The unanimous vote followed the ouster of Hungarian Prime Minister Viktor Orbán after 16 years in power. Orbán, who lost the April election to Péter Magyar, had repeatedly vetoed earlier attempts to sanction Israeli settlers over their actions in the West Bank.

Criticism of Israeli Prime Minister Benjamin Netanyahu and his government's actions in Gaza, the West Bank, Lebanon, Syria and Iran had pushed many European governments, led by Spain, Ireland and the Netherlands, to seek penalties. According to the United Nations Office for the Coordination of Humanitarian Affairs, at least 40 Palestinians have been killed since the start of the year, including 11 by settlers.

Hugh Lovatt, a fellow at the European Council on Foreign Relations, said the measures fell short of what was needed. "The EU's narrowed the scope of action now to individuals and to a few entities, and in doing that it's ignoring the far more systemic issues at play," Lovatt said. "There's so much that you can and should be doing. Just adding a few more settlers to the sanctioned list is missing the big picture."

Key settlers in Israel's government include Finance Minister Bezalel Smotrich, who formulates settlement policy, and Cabinet Minister Itamar Ben-Gvir, who oversees the nation's police force. The EU has not released a draft list of those to be targeted.