U.S. Vice President JD Vance criticized on Thursday a symbolic vote in Israel's parliament the previous day about annexing the occupied West Bank, saying it amounted to an “insult” and went against the Trump administration policies.

Hard-liners in the Israeli parliament had narrowly passed a preliminary vote in support of annexing parts of the West Bank — an apparent attempt to embarrass Prime Minister Benjamin Netanyahu while Vance was still in the country.

The bill, which required only a simple majority of lawmakers present in the house on Wednesday, passed with a 25-24 vote.

But it was unlikely to pass multiple rounds of voting to become law or win a majority in the 120-seat parliament.

Netanyahu, who is opposed to it, also has tools to delay or defeat it.

The Israeli parliament's vote has stirred widespread condemnation, with over a dozen countries — including Egypt, Qatar and Saudi Arabia — rebuking it in a joint statement that called all Israeli settlements in the West Bank a violation of international law.

Netanyahu's office said in a statement that the “vote on annexation was a deliberate political provocation by the opposition to sow discord.”

Netanyahu is struggling to stave off early elections as cracks grow more apparent between factions in Israel’s right-wing parties, some of whom were upset over the ceasefire and the security sacrifices it required of Israel.

Vance said that if the Knesset's vote was a “political stunt, then it is a very stupid political stunt.”

The deputy Palestinian ambassador to the United Nations, Majed Bamya, told the U.N. Security Council on Thursday that Palestinians “appreciate the clear message” the Trump administration has sent in opposition to annexation.

While many members of Netanyahu’s coalition, including his Likud Party, support annexation, they have backed off those calls since U.S. President Donald Trump said last month that he opposes such a move.

The Palestinians seek the West Bank and the Gaza Strip, captured by Israel in the 1967 Mideast war, for a future independent state.

Israeli annexation of the West Bank would all but bury hopes for a two-state solution between Israel and the Palestinians — the outcome supported by most of the world.

Before departing Israel, Vance also unveiled new details about U.S. plans for Gaza, saying he expected reconstruction to begin soon in some “Hamas-free” areas of the territory.

But he warned that rebuilding the territory after a devastating two-year war could take years, and the southern city of Rafah could then house half a million people.

That would account for about a quarter of Gaza's population of roughly 2 million, 90% of whom were displaced from their homes during the war.

Out of every 10 buildings that stood in Gaza prewar, eight are either damaged or flattened.

An estimated cost of rebuilding Gaza is about $53 billion, according to the World Bank, the U.N. and the European Union.