Palestinians hurl stones and burn tires near the fence of the Gaza Strip's border with Israel, during a protest east of Khan Younis, in the Gaza Strip, Friday, June 8, 2018. Palestinians burned tires and Israeli troops fired heavy volleys of tear gas Friday to push back large Gaza crowds from the area of the fence separating the blockaded territory from Israel. (AP Photo/Adel Hana)

Palestinians take cover from teargas fired by Israeli troop near the Gaza Strip's border with Israel, during a protest east of Khan Younis, in the Gaza Strip, Friday, June 8, 2018. Palestinians burned tires and Israeli troops fired heavy volleys of tear gas Friday to push back large Gaza crowds from the area of the fence separating the blockaded territory from Israel. (AP Photo/Adel Hana)

Palestinian medics and protesters evacuate a wounded youth near the Gaza Strip's border with Israel, during a protest east of Khan Younis, in the Gaza Strip, Friday, June 8, 2018. (AP Photo/Adel Hana)

Palestinians hurl stones and burn tires near the fence of the Gaza Strip's border with Israel, during a protest east of Khan Younis, in the Gaza Strip, Friday, June 8, 2018. Palestinians burned tires and Israeli troops fired heavy volleys of tear gas Friday to push back large Gaza crowds from the area of the fence separating the blockaded territory from Israel. (AP Photo/Adel Hana)

Palestinians attend a protest to demand lifting the sanctions on Gaza Strip, in the West Bank city of Ramallah, Tuesday, June 12, 2018. Placards read: The immediate implementation of the National Council's resolutions to terminate the Gaza related procedures" , and "No for the punishment procedures on Gaza, support Gaza's steadfastness". (AP Photo/Majdi Mohammed)

Palestinians attend a protest to demand lifting the sanctions on Gaza Strip, in the West Bank city of Ramallah, Tuesday, June 12, 2018. Placard reads: "Sanctions on Gaza are a crime, lift them" and on the banner showing President Mahmoud Abbas: "We love you and we pledge allegiance to you". (AP Photo/Majdi Mohammed)

UNITED NATIONS (AP) — The U.N. General Assembly approved a Palestinian-backed resolution Wednesday blaming Israel for violence in Gaza and deploring its "excessive use of force," after narrowly rejecting a U.S. demand to add a condemnation of attacks on Israel by Gaza's Hamas rulers.

The votes reflected wide concern in the 193-member world body that the resolution sponsored by Arab and Islamic nations was one-sided and failed to even mention Hamas, which has fired over 100 rockets at Israel.

Since near-weekly mass protests began March 30 along the Israel-Gaze border, more than 120 Palestinians have been killed and over 3,800 wounded by Israeli army fire. The overwhelming majority of the dead and wounded have been unarmed, according to Gaza health officials.

Israel's use of potentially lethal force against the protesters has drawn international criticism. Israel accuses Hamas of trying to carry out attacks and damage the border fence under the guise of the protests.

Israeli Ambassador Danny Danon told the assembly that Hamas is conducting "a violent assault on Israel" and aims to seize its main cities of Haifa, Tel Aviv and Jerusalem. "We want to make sure that doesn't happen," he said.

For the Palestinians, the resolution's key provision is a request to U.N. Secretary-General Antonio Guterres to make proposals within 60 days "on ways and means for ensuring the safety, protection and well-being of the Palestinian civilian population under Israeli occupation," including on "an international protection mechanism."

In the General Assembly, the confrontation over Gaza, reflecting decades-old divisions between Israel and the Palestinians, played out with a few new twists.

Algerian Ambassador Sabri Boukadoum, representing Arab nations, first sought to block a vote on the U.S. amendment, saying it wasn't relevant to the resolution. He said it also undermined reconciliation efforts between rival Palestinian factions Hamas and Fatah as well as the "remote prospects" of reviving peace negotiations with Israel.

His motion to take "no action" on the amendment was defeated by a vote of 59-78 with 26 abstentions, allowing the U.S. amendment to be put to a vote.

The U.S. amendment was approved by a 62-58 vote, with 42 abstentions. But General Assembly President Miroslav Lajcak declared that under an assembly rule, a two-thirds majority was needed so the amendment failed.

U.S. Ambassador Nikki Haley appealed, citing another rule that says only a majority vote was required. After a short break, Lajcak put the U.S. appeal to a vote. The U.S. narrowly lost that vote 66-73 with 26 abstentions.

Finally, the assembly voted on the original Palestinian-backed resolution, approving it 120-8 with 45 abstentions.

Haley said in a statement afterward that "in the face of Hamas terrorists routinely inciting violence ... today the U.N. made the morally bankrupt judgment that the recent Gaza violence is all Israel's fault."

"But the common practice of turning a blind eye to the U.N.'s anti-Israel bias is changing," she said. "Today, a plurality of 62 countries voted in favor of the U.S.-led effort to address Hamas' responsibility for the disastrous conditions in Gaza."

"This was a badge of shame for the U.N.," Danon said. But "thanks to the combined efforts with our American friends and our allies from around the world, we proved today that the automatic majority against Israel in the U.N. is not destiny and can be changed."

Palestinian Ambassador Riyad Mansour urged the assembly before the vote to address the escalating violence in Gaza and "the crisis" of protecting civilians. He called the U.S. amendment a "bad-faith attempt" to shift the focus away from "the core objective of protecting civilians and upholding international law."

"We need action. We need protection for our civilian population. ... Is that a crime to ask for?" he said.

"We cannot remain silent in the face of the most violent crimes and human rights violations being systematically perpetrated against our people," Mansour said.

The resolution deplores "any excessive use of force" by Israeli forces, particularly in Gaza, and demands that Israel "refrain from such actions." It "deplores the firing of rockets from the Gaza Strip against Israeli civilian areas," but doesn't say who is doing the firing.

The Palestinians had initially sought a Security Council resolution after Israel's military killed civilians during the mass protests in Gaza against the border blockade imposed by Israel and Egypt in 2007 after Hamas overran the territory. The U.S. vetoed that resolution June 1, with Haley calling it "grossly one-sided" for criticizing the use of force by Israel while not mentioning Hamas.

Arab and Islamic nations then decided to seek a vote on virtually the identical resolution at Wednesday's emergency meeting of the General Assembly, where there are no vetoes.

They followed the same route they took in December after the United States vetoed a Security Council resolution calling on President Donald Trump to renounce his recognition of Israel as Jerusalem's capital.

The General Assembly largely ignored Trump's threats at the time to cut off aid to any country that went against the U.S. and voted 128-9 to denounce the president's recognition of Jerusalem as Israel's capital and declare it "null and void."

While Security Council resolutions are legally binding, General Assembly resolutions are not, although assembly spokesman Brenden Varma stressed Wednesday that they do reflect "political will" as well as international opinion.