Ismail Haniya, the Hamas leader in Gaza, said that the truce was in both sides' interests.

"The calm is going to bring stability to Israel if they commit themselves to it," he said. "The calm is going to ease the lives of Gazans."

But just hours before the ceasefire was due to come into effect Palestinian fighters had fired dozens of mortars and rockets into southern Israel, while an Israeli air raid in the north of Gaza injured two people.

Mutual distrust

The attacks on Wednesday seemed to reflect the lack of trust of that each side has in the other. 

Ghazi Hamad, a senior Hamas official, told Al Jazeera that he was confident that Palestinian groups in the Gaza Strip would honour the deal but was not sure that Israel would stop its attacks.

"We cannot trust Israel because I think Israel is not interested in a truce or ceasefire ... but here in Gaza I think that all Palestinian factions are together, and I think of all of them expressed their respect and that they want to be committed to the ceasefire," he said.
 
For his part, Mark Regev, the Israeli government spokesman, questioned whether Hamas would respect the ceasefire.

"We have to see that this isn't a calm that is used by the terrorist in Gaza as a timeout, that they just use this to rearm and group," he told Al Jazeera.

"I think everyone is looking at Hamas, are they really serious about this?" he asked. "Their track record is one of continued violence, terrorism and murder."

Meir Sheetrit, an Israeli cabinet minister, criticised the deal, saying it was "a great accomplishment for Hamas".

"They prove that their determination and the war and the continued attacks on Israel help them achieve what they want," he said.

Gaza blockade

If the ceasefire deal lasts for three days, Israel will ease its blockade on Gaza, allowing vital supplies into the territory.
 
If the truce holds after that, it will lead to talks on opening the Rafah crossing between Gaza and Egypt.
 
It is unclear if the deal involves any type of prisoner exchange.
 
Egypt opened its border with the Gaza Strip on Wednesday, a security official said, to allow Palestinians to return to the territory after receiving medical treatment.
 
The official said the opening of the border crossing was "exceptional", and was only done so that sick Gazans could return home.
 
Israel's decision to observe the ceasefire came after a senior aide to Barak returned from Cairo, where he met Egyptian officials who had mediated with Hamas.
 
Amos Gilad said on public radio that the "question with the Egyptians on the agreement regarding a total ceasefire was that if there is new firing [from Gaza], no matter by whom, it will be a violation of the agreement".

He said he was confident that Egypt would stop weapons from being smuggled to the Gaza Strip from Sinai.

Real effort

Gil Hoffman, a political analyst at the Jerusalem Post, told Al Jazeera the deal had the potential to make a lasting change.
 
"The practical effects of this [ceasefire] is that you are going to see a real effort on both sides to make lives better on both sides of the border."
 

Timeline: Ceasefire efforts

June 17, 2008: Truce announced between Israel and Gaza's Hamas government, to take effect from June 19

June 11, 2008: Israel's security cabinet backs Egypt's truce efforts but says army has been instructed to prepare for possible Gaza offensive if mediation fails

March 4, 2008: Egypt calls for ceasefire between Hamas and Israel

January 23, 2007: The Rafah border wall is blown up and tens of thousands of Palestinians pour into Egypt from Gaza to shop for food and fuel in short supply because of the Israeli-led blockade. The border is sealed again a few days later

November 27, 2007: US hosts a peace conference, eliciting promises from Israel and the Palestinians to try to forge a two-state agreement before end of 2008

June 14, 2007: Hamas seizes Gaza after overpowering Fatah forces in a week of fighting in which killed at least 100 people. Abbas later dismisses Hamas-led unity government and appoints a Fatah-backed administration. Israel tightens a blockade of Gaza

Hoffman said the ceasefire agreement would help Olmert amid an investigation that he allegedly accepted bribes before he became prime minister.
 
"This has come at a time when he is facing enough problems with criminal investigations. To have quiet in the Gaza Strip is something that would help him out tremendously."

Islamic Jihad, a Palestinian group which frequently fires rockets at Israel from Gaza, said it would observe the truce despite having reservations about the deal.
 
"Despite our reservations over the truce agreement, we will not stand in its way and will not seek to cause its failure out of concern for Palestinian unity and in order to achieve the lifting of the blockade [on Gaza]," Nafez Azzam, a leader of the group, said on Wednesday.
 
"We did not sign any document but we gave our verbal agreement to Hamas and to Egypt while at the same time expressing our reservations."
 
Khalil al-Haya, a Hamas leader, speaking in Gaza on Tuesday, said that Egypt will seek to extend the truce into the West Bank.

Egyptian authorities will hold a meeting with Hamas and the Palestinian Authority a week after the end of the truce in order to open the Rafah crossing with Egypt, al-Haya said.

"We respect the terms of the truce, and in case of any problems, we will seek Egypt's help," he said.

Reacting to the news of the truce, Tom Casey, a US state department spokesman, said: "It hardly meets the terms that the Quartet has laid out, nor those of [Palestinian] president [Mahmoud] Abbas for the reincorporation of Hamas into the Palestinian political process."