Israel released hundreds of Palestinian prisoners late Sunday, the second and final phase of a swap with Gaza Hamas militants that brought home an Israeli soldier after five years in captivity.
Under the Egypt-brokered deal, Israel agreed to exchange a total of 1,027 prisoners for Sgt. Gilad Schalit, who was captured by Gaza militants in June 2006. Schalit returned home in October when Israel freed the first batch of 477 prisoners. Sunday's release of 550 prisoners completed the swap, the most lopsided in Israel's history.
The release Sunday night was not infused with the same drama as the first phase, since the most significant players in the trade had already been freed.
The Oct. 18 return of Schalit, who appeared pale and thin but otherwise healthy, was the first public sighting of him since his capture, and the plight of the young man had captured Israel's attention for years.
The prisoners freed in the first round included dozens of militants serving life sentences for involvement in bus bombings and other deadly attacks on Israeli civilians that killed hundreds. Their release set off celebrations in the Palestinian territories, particularly Hamas' Gaza stronghold.
On Sunday Israel's Supreme Court rejected a last-minute appeal by an Israeli group representing families of victims of Palestinian violence to block the release. The group argued that lopsided swaps encourage Palestinians to carry out more attacks and abductions.
"We managed to get 20 percent of our prisoners released from Israeli jails in exchange for one soldier," Hamas spokesman Abu Obeida said in Gaza. "We are going to continue our efforts to get all prisoners released," he said.
Under the terms of the deal, Israel chose the prisoners to be freed Sunday. Prison officials said most were serving light sentences or near the end of their terms, and only 41 were returning to Gaza.
More than 500 were sent to the West Bank, which is ruled by Hamas' rival, President Mahmoud Abbas, and most of them were believed to be linked to Abbas' Fatah movement. Israel is interested in bolstering Abbas at a time when Islamic groups like Hamas are gaining in power throughout the Middle East. Hamas enjoyed a huge boost of popularity following the October release.
A few hours earlier, a large group of Palestinians threw rocks and firebombs at Israeli troops at the West Bank checkpoint near the city of Ramallah, where the prisoners were released. The military said one soldier was injured.
The Palestinians have been divided between two rival governments since Hamas expelled Abbas' forces and seized control of Gaza in 2007. Abbas, who favors a negotiated peace settlement with Israel, has governed only in the West Bank since then.
"This phase of the swap is shallow, because most of those coming out had served short sentences," said Issa Karake, the prisoners affairs minister in the West Bank government. "It did not live up to the expectations of the Palestinians."
In Gaza, Hamas spokesman Fawzi Barhoum said the movement welcomed the release of all prisoners, regardless of their political affiliation. "We are proud of this great achievement," he said.
Israeli-Palestinian peace talks have been frozen for three years, in part because of continued Israeli settlement construction in the West Bank and east Jerusalem. The Palestinians claim both territories, captured by Israel in the 1967 Mideast war, as parts of a future state.
On Sunday, Israel's Housing Ministry published advertisements seeking contractors to build some 1,000 apartments in both areas.
The apartments were approved long ago. Last month, Prime Minister Benjamin Netanyahu ordered construction to be sped up after the U.N. cultural agency UNESCO granted the Palestinians membership. Israel opposes Palestinian efforts to join the U.N. in the absence of a negotiated peace deal.
Also Sunday, the United Nations Special Rapporteur on freedom of expression condemned the militant Islamic group Hamas for cracking down on journalists in Gaza.
The official, Frank La Rue, said that Hamas security forces arbitrarily arrest and hit journalists and beat Palestinian demonstrators.
La Rue also spoke out over allegations that Israeli soldiers fire tear gas directly at Palestinian protesters in the West Bank, which is against Israeli military regulations and can be lethal.
Josef Federman, Ian Deitch and Daniella Cheslow contributed to this report from Jerusalem. Ibrahim Barzak reported from Gaza.