Media playback is unsupported on your device Media caption US Secretary of State John Kerry: "The two-state solution is now in serious jeopardy"

US Secretary of State John Kerry has said the prospect of an Israeli-Palestinian peace deal based on a two-state solution is in grave jeopardy.

And he insisted UN condemnation of illegal Jewish settlements on occupied land was in line with American values.

Israel's PM said Mr Kerry's speech was "obsessively focused" on settlements.

Earlier, US President-elect Donald Trump tweeted in support of Israel, saying he would not allow it to be treated with "disdain and disrespect".

He urged Israel to "stay strong" until he assumed office next month.

Media playback is unsupported on your device Media caption Netanyahu: John Kerry blamed Israel for lack of peace

On Friday, the US chose not to veto a UN Security Council resolution calling for an end to Israeli settlement construction, leading to an angry response from Israel.

The issue of Jewish settlements is one of the most contentious between Israel and the Palestinians, who see them as an obstacle to peace and the creation of a viable Palestinian state.

More than 500,000 Jews live in about 140 settlements built since Israel's 1967 occupation of the West Bank and East Jerusalem. The settlements are considered illegal under international law, though Israel disputes this.

Image copyright EPA Image caption The UNSC resolution calls for Israel to stop settlement activity in the West Bank and East Jerusalem

What is the two-state solution?

A "two-state solution" to the decades-old conflict between Israelis and Palestinians is the declared goal of their leaders and many international diplomats and politicians.

It is the shorthand for a final settlement that would see the creation of an independent state of Palestine within pre-1967 ceasefire lines in the West Bank, Gaza Strip and East Jerusalem, living peacefully alongside Israel.

The United Nations, the Arab League, the European Union, Russia and the United States routinely restate their commitment to the concept.

Blame and bitterness keep peace at bay

Reconsidering the two-state solution

Mr Kerry said: "The two-state solution is the only way to achieve a just and lasting peace between Israelis and Palestinians. It is the only way to ensure Israel's future as a Jewish and democratic state. That future is now in jeopardy."

He added: "The Israeli prime minister publicly supports a two-state solution, but his current coalition is the most right-wing in Israeli history with an agenda driven by the most extreme elements.

"The result is that policies of this government, which the prime minister himself just described as more committed to settlements than any Israel's history, are leading in the opposite direction. They are leading towards one state."

In his reply, Israeli Prime Minister Benjamin Netanyahu said he was disappointed with the US secretary of state's speech, which he said was "unbalanced".

Mr Kerry, he said, had "paid lip service to the unremitting Palestinian campaign of terrorism" against Israel.

The conflict, Mr Netanyahu added, centred on the Palestinians' refusal to recognise Israel's right to exist, but Mr Kerry "does not see the simple truth".

Image copyright AFP Image caption Donald Trump has taken a strongly pro-Israel stance

A spokeswoman for the Palestinian Liberation Organisation, Hanan Ashrawi, told the BBC that Palestinians had adhered to past agreements but the Israelis had not.

"We have accepted the two-state solution and we've acted accordingly and we have honoured all our commitments as per the declaration of principles and the agreements," she said.

"Unfortunately it's Israel that has violated all its commitments, all the agreements and that is constantly now stepping up, as John Kerry said... its settlement activities and in an insane manner that is... specifically planned to destroy the two-state solution."

More to come? By Paul Adams, BBC diplomatic correspondent

Barack Obama began his presidency with a flurry of diplomacy aimed at breaking the Arab-Israeli deadlock. It did not work and pretty soon, a succession of Arab revolutions and wars gave the president more pressing things to think about.

Now, at the eleventh hour, another flurry, which has angered Israeli Prime Minister Benjamin Netanyahu.

But could it help set the scene for future diplomacy? France is organising a peace conference in mid-January and it has been suggested that decisions taken there could form the basis of another UN resolution before 20 January, when President Obama leaves office.

However, Donald Trump has made it clear he has no plans to push Israel into a corner.

In two tweets issued on Wednesday morning New York time, Mr Trump said: "We cannot continue to let Israel be treated with such total disdain and disrespect.

"They used to have a great friend in the US, but... not anymore. The beginning of the end was the horrible Iran deal, and now this (UN)! Stay strong Israel, January 20th is fast approaching!"

Critics have urged the president-elect to use more conventional channels to communicate on international matters.

Mr Netanyahu replied on Twitter: "President-elect Trump, thank you for your warm friendship and your clear-cut support for Israel!"

The UN resolution passed last Friday stated that the establishment of settlements "has no legal validity and constitutes a flagrant violation under international law and a major obstacle to the achievement of the two-state solution and a just, lasting and comprehensive peace".

The US decision to abstain infuriated Mr Netanyahu, who has taken diplomatic reprisals against the countries that voted in favour of the resolution.

Meanwhile, an Israeli committee has postponed a vote to authorise construction of almost 500 new homes in Jewish settlements in occupied East Jerusalem.

The move apparently follows a request from Mr Netanyahu's office.