Obama thanks Egypt as world leaders hail Israel-Hamas truce "The president thanked President Morsi for his efforts to achieve a sustainable ceasefire and for his personal leadership in negotiating a ceasefire proposal," the White House said in a statement. Mr Obama also reaffirmed the "close partnership" between Washington and Cairo, the White House said, adding that the two leaders "agreed on the importance of working toward a more durable solution to the situation in Gaza." The US leader also praised a more natural Washington ally, Israel's Prime Minister Benjamin Netanyahu, but again stressed Egypt's role in securing the deal that it is hoped will end Hamas' rocket attacks and Israeli air strikes. "The president expressed his appreciation for the prime minister's efforts to work with the new Egyptian government to achieve a sustainable ceasefire and a more durable solution to this problem," a White House statement said. "The president commended the prime minister for agreeing to the Egyptian ceasefire proposal, which the president recommended the prime minister do, while reiterating that Israel maintains the right to defend itself," it said. British Foreign Secretary William Hague said he had spoken with Mr Morsi and congratulated him on his role in the ceasefire. Mr Hague tweeted that he had promised Mr Morsi the UK's support in the days ahead. Canada also praised Egypt, while criticizing Palestinian militants. "Canada welcomes this ceasefire and hopes terrorist cells based in Gaza will abide by the terms," Foreign Affairs Minister John Baird said. The Egyptian government showed leadership and responsibility as a major regional state. European Union leaders, Jose Manuel Barroso and Herman Van Rompuy, also welcomed the ceasefire, while cautiously stressing that the parties must "ensure its implementation and to prevent the restart of violence." Pledging EU support for the peace process, their statement added that the events of the last days "stress the urgent need to move towards a two-state solution allowing both sides to live side-by-side in peace and security." UN Secretary General Ban Ki-moon appeared not quite ready to believe that a truce had been possible, after a week of bloodshed that killed more than 150 people, the majority of them Palestinians caught in Israel's onslaught. "We are encouraged and relieved that they have reached this ceasefire," Mr Ban told reporters. There are still many details to be solidified for a durable ceasefire. I hope they will finalize these details as soon possible. "Our focus now must be on ensuring that the ceasefire holds," he said. They must keep their promises. I urge them to exercise maximum restraint, patience with a sense of mutual understanding, this is very important. Global oil prices had been rising before the ceasefire, with chaos in the Middle East boosting supply concerns, but they fell back to finish the day steady after news of the ceasefire broke.