GAZA CITY, Gaza Strip - Israel withdrew most of its ground troops from the Gaza Strip on Sunday in an apparent winding down of the nearly monthlong operation against Hamas that has left more than 1,800 Palestinians and 60 Israelis dead.
Even as Israel said it was close to completing its mission, heavy fighting raged in parts of Gaza, with at least 10 people killed in what U.N. and Palestinian officials said was an Israeli airstrike near a U.N. shelter. The United States lashed out at Israel, saying it was "appalled" by the "disgraceful" attack.
And with Hamas officials vowing to continue their fight, it remained uncertain whether Israel could unilaterally end the war.
Israeli soldiers and friends mourn during the funeral of 2nd. Lt. Hadar Goldin at the military cemetery in the central Israeli city of Kfar Saba on Sunday.
Israel launched its military operation in Gaza on July 8 in response to weeks of heavy rocket fire, carrying out hundreds of airstrikes across the crowded seaside territory. It then sent in ground forces July 17 in what it said was a mission to destroy the tunnels used by Hamas to carry out attacks.
Hamas has fired more than 3,000 rockets into Israel during what has turned into the bloodiest round of fighting ever between the two enemies.
Lt. Col. Peter Lerner, an Israeli military spokesman, confirmed the bulk of ground troops had been pulled out of Gaza after the military concluded it had destroyed most of the tunnel network.
He said Israel had detected some 30 tunnels that were dug along the border for what he called a "synchronized attack" on Israel.
"We've caused substantial damage to this network to an extent where we've basically taken this huge threat and made it minimal," he said. The army had thousands of troops in Gaza at the height of the operation.
In southern Israel, armored vehicles could be seen rolling slowly onto the back of large flatbed trucks near the Gaza border, while soldiers folded flags from atop a tank and rolled up their belongings and sleeping bags.
Lerner said, however, that the operation was not over and that Israel would continue to target Hamas' rocket-firing capabilities and its ability to infiltrate Israel.
While Israeli Prime Minister Benjamin Netanyahu has vowed to press on against Hamas, he is coming under international pressure to halt the fighting because of the heavy civilian death toll.
U.N. officials say more than three-quarters of the dead have been civilians, including the 10 people killed Sunday at a U.N. school that has been converted into a shelter in the southern town of Rafah.
U.N. Secretary-General Ban Ki-moon called the attack a "moral outrage and a criminal act" and demanded an investigation, while the U.S. State Department condemned the strike in unusually strong language.
According to witnesses, Israeli strikes hit just outside the main gates of the school. The Red Crescent, a charity, said the attack occurred while people were in line to get food from aid workers. Gaza health official Ashraf al-Kidra said in addition to the dead, 35 people were wounded.
Inside the U.N. school's compound, several bodies, among them children, were strewn across the ground in puddles of blood. "Our trust and our fate are only in the hands of God!" one woman cried.
The Israeli military said it had targeted three wanted militants on a motorcycle in the vicinity and was "reviewing the consequences of this strike."
In the current round of fighting, U.N. shelters have been struck by fire seven times. UNRWA, the U.N. agency that assists Palestinian refugees, says Israel has been the source of fire in all instances. But it also has said it found caches of rockets in vacant UNRWA schools three times.
Israel accuses Hamas of using civilian areas for cover and civilians as human shields.