US President Barack Obama marvelled at the sights of Jordan's ancient city of Petra on Saturday as he wrapped up a four-day Middle East tour by setting aside weighty diplomatic matters and playing tourist for a day.
The visit's main concrete achievement was Obama's brokering of a rapprochement between Israel and Turkey. But the tour resulted in little more than symbolic gestures toward peace talks between Israel and the Palestinians.
Before heading to Petra, Obama used a stop in Jordan to ratchet up criticism of Syrian President Bashar al-Assad, stopping short of promising military aid to Syrian rebels in a two-year-old civil war that has claimed 70,000 lives.
US officials privately voiced satisfaction with the results of the first foreign trip of Obama's second term, but aides had set expectations so low that it was not hard to proclaim it a mission accomplished.
In full sightseeing mode, Obama flew by helicopter to Petra for a two-hour walking tour of the restored ruins of a city more than 2,000 years old some of which is carved into sandstone cliffs.
Ordinary tourists had been cleared out for the president's visit, and guards with assault weapons followed his every step.
"This is pretty spectacular," Obama, wearing sunglasses, khaki trousers and a dark jacket, said as he craned his neck to look up at the Treasury, a towering rose-red facade cut into a cliff. "It's amazing."
Jordan's King Abdullah was on hand at Amman airport on Saturday to send Obama on his way home to Washington.
The US president arrived there yesterday after an unexpected diplomatic triumph in Israel, where he announced a breakthrough in relations between Israel and Turkey after a telephone conversation between the countries' prime ministers.
Israeli premier Benjamin Netanyahu apologised on behalf of his country for the killing of nine Turkish citizens in a 2010 naval raid on a Gaza-bound flotilla, and the two feuding US allies agreed to normalise ties.
The 30-minute call was made in trailer near the runway at Tel Aviv airport, where Obama and Netanyahu huddled before the president boarded Air Force One.
The rapprochement could help Washington marshal regional efforts to contain spillover from the Syrian civil war and ease Israel's diplomatic isolation in the Middle East as it faces challenges posed by Iran's nuclear programme.
During his visit, Obama appeared to have made some headway in easing Israelis' suspicions of him, calming their concerns about his commitment to confronting Iran and soothing his relationship with the hawkish Netanyahu.
Obama attempted to show Palestinians he had not forgotten their aspirations for statehood but he left many disappointed that he had backtracked from his previous demands for a halt to Israeli settlement building in the occupied West Bank.
The president offered no new peace proposals but he promised his administration would stay engaged while putting the onus on the two sides to set aside mutual distrust and restart long-dormant negotiations - a step the president failed to bring about in his first term.
Secretary of State John Kerry was due to meet Palestinian President Mahmoud Abbas in Amman and then fly to Jerusalem to see Netanyahu on Saturday night as part of a push to get the two sides back to the table.
On the last leg of his trip, Obama also promised further humanitarian aid in talks with Jordan's Abdullah, a close ally, as the economically strapped country grapples with a refugee crisis caused by Syria's civil war.
Obama also used the opportunity to underscore US wariness about arming rebels fighting to overthrow Assad, despite pressure from Republican critics at home and from some European allies to do more.
He warned that a post-Assad Syria could become an "enclave" for Islamist extremism and insisted it was vital to help organise the Syrian opposition to avoid that, but he stopped short of announcing any new concrete steps.