Palestinian men wave Hamas flags next to destroyed buildings during a march Tuesday through Jebaliya, northern Gaza Strip. Hamas leaders vowed to restore order to the territory Monday after Israel pummeled the militant group in a three-week war.
Secretary-General Ban Ki-moon, at a ceremony at the burned out U.N. headquarters in Gaza, demanded a full investigation into strikes on U.N. facilities. Ban asked the crowd to honor victims of the offensive, who included nearly 40 Palestinians who had sought refuge at a U.N. school shelled by Israel.
"It has been especially troubling and heartbreaking for me as secretary-general that I couldn't end this faster," he said. He warned the truce is fragile and called on Israel and Hamas to "exercise maximum restraint and nurture the cease-fire."
Thousands of Hamas supporters thronged a square outside the remains of the parliament building in Gaza City, which was heavily damaged in an Israeli airstrike at the outset of the war. Two men hoisted a sign in carefully scripted Hebrew reading, "The resistance will be victorious, Israel has been defeated."
Ban later visited the rocket-scarred Israeli town of Sderot, where he called the Hamas' attacks over the last eight years against Israeli residents "appalling and unacceptable."
Israel and Hamas both ceased fire Sunday after an offensive that claimed the lives of some 1,300 Palestinians, according to Gaza health officials, and 13 Israelis. The last of Israel's ground troops were expected to pull out of Gaza on Tuesday if the quiet holds, defense officials said.
Israel mounted the air and ground campaign against Hamas on Dec. 27 in an effort to force Gaza militants to halt years of rocket fire on southern Israel and to cripple arms-smuggling operations. The fighting stopped before Israel achieved those aims.
The Egyptian-brokered truce hopes to address the issues of arms smuggling and reopening Gaza's blockaded border crossings in its next stage.
The U.N. chief personally intervened during the war to try to stop the violence, and said over the weekend that he was sending a team to assess the humanitarian needs so the United Nations could issue an emergency appeal for funds.
Calling the crisis a "collective political failure," Ban said he would share the findings of his trip to Gaza with world leaders, including incoming President Barack Obama.
The first estimates by independent surveyors said Gaza lost nearly $2 billion in assets, including 4,100 homes, about 1,500 factories and workshops, 20 mosques, 31 security compounds, and 10 water or sewage lines. Shattered glass and mounds of rubble littered city streets.
Ban called the attacks on the U.N. headquarters and two of its schools "outrageous" and demanded a full investigation through proper judiciary systems. He also demanded guarantees it would never happen again.
Israel has said militants used the U.N. buildings as cover to launch attacks, but the military has launched its own investigation.
Homeowners digging through the debris in Gaza City, the territory's largest city, carried off vases, refrigerators, dishes and baby beds, some loading their goods into cars and trucks. Utility crews began planning repairs to electrical and sewage and water systems. A senior technician, Mofid Awad, said 80 percent of the electricity grid in Gaza City was damaged.
Before setting off for Gaza, Ban met with Israeli Prime Minister Ehud Olmert, who told him Hamas could not be allowed to lead the reconstruction process in Gaza and thereby gain legitimacy, Olmert's office said in a statement.
The U.N. and international organizations must lead the reconstruction in conjunction with the Palestinian Authority and Egypt, which has been mediating between Israel and Hamas, Olmert said.
Ban said his discussions with Olmert focused on withdrawing all Israeli troops from Gaza and how to open Gaza's border crossings.
Ban is the most senior international official to visit Gaza since Hamas militants seized power in June 2007. The Hamas government is not internationally recognized, and Ban was not scheduled to meet with the group, which is regarded by Western powers and Israel as a terrorist organization.
In Sderot, a frequent target or rocket attacks, a false alarm of an incoming rocket earlier in the day set off fears that the shaky truce hadn't even lasted two full days. The military reported that a mortar was fired later, but apparently fell short of Israeli territory.
During his visit to the town, Ban expressed sympathy for residents.
"You live every day with a threat of a rocket falling from the sky. No human being can live in a state like this," Ban said. "I expect basic humanitarian law to protect civilian life to be respected and restored and not violated as Hamas has done."
Still, he called for reopening Gaza's blockaded borders, saying Israel's economic embargo will only fuel radicalism in Gaza. "Desperation will only feed Hamas," he said.
Palestinians and human rights workers reported that Israeli troops on Tuesday have shot to death two Gaza farmers -- one a 20-year-old man in northern Gaza -- in separate incidents since the truce took hold.
The military said in one case that troops returned fire, and had no information on the other.
Although Israel scored a decisive battleground victory, Hamas claims its own triumph because it managed to withstand the intense Israeli assault and fired hundreds of rockets into the Jewish state throughout the fighting.
Thousands of Hamas supporters turned out to celebrate in the southern Gaza town of Khan Younis, raising their forefingers in the air as a sign of loyalty to the militant group, and waving the movement's iconic green flag. Bearded organizers in yellow vests kept the crowd in order and pro-Hamas music blared from loudspeakers.
Around 800 people showed up for a pro-Hamas demonstration in the northern Gazan town of Beit Lahiya, the site of heavy fighting.
"For us, this was a victory," said Mohammed Abu Awad, 24, a university student.
But the owner of a coffee stand near the Gaza City rally criticized the festivities.
"We can't talk about real victory because there were thousands of martyrs and we didn't liberate anything," said Jawdat Abu Nahel. "It's no time for a parade."