JERUSALEM (AP) -- Pope Francis wrapped up his Mideast pilgrimage Monday with a balancing act of symbolic and spontaneous gestures to press his call for peace between Israel and the Palestinians and friendship between Jews and Muslims in the land of Jesus' birth.
A day after he boosted Palestinian aspirations by praying at Israel's security barrier surrounding Bethlehem, Francis honored Holocaust victims by kissing the hands of several survivors, and accepted Israel's last-minute request to pray at a memorial to victims of suicide bombings and other attacks.
But the image that the Vatican hopes will define the trip, and perhaps Francis' young papacy, was another: that of the leader of the 1.2 billion strong Catholic Church embracing his Argentine friends, a rabbi and a Muslim, in front of the Western Wall, adjacent to the disputed hilltop compound that lies at the heart of decades of Israel-Arab tensions.
After visiting the golden-topped Dome of the Rock shrine on the compound on Monday morning, Francis prayed at the nearby Western Wall, leaving a hand-written note with the "Our Father" prayer written in his native Spanish in between the cracks of stone.
When he finished, a visibly emotional Francis embraced Rabbi Abraham Skorka and Omar Abboud, a leader of Argentina's Muslim community, both of whom joined Francis on his official delegation in a potent symbol of interfaith friendship.
"I think this was the real answer to such problems that come from very long and profound difficulties," the Vatican spokesman, the Rev. Federico Lombardi, said of the embrace. "What can we do? We can pray. We can ask God to help us. We can love mutually and then embrace."
That logic lies at the heart of Francis' surprise invitation to the Israeli and Palestinian presidents to come to the Vatican next month to pray for peace. The invitation was a dramatic -- but very Franciscan -- initiative that confirmed that the pope who named himself after the peace-loving St. Francis of Assisi feels free and even obliged to pursue any initiative that might benefit peace.
Francis stressed in comments to reporters en route back to Rome that the encounter was to pray -- not negotiate or mediate.
"We are coming just to pray, then everyone goes home," he said. "But I think prayer is important: praying together."
Francis made a similar foray into world diplomacy last year when he rallied millions of people to fast and pray for a peaceful resolution to threatened U.S.-led military strikes on Syria. More recently, the Vatican has intervened directly in Venezuela's unrest by participating in talks between the government and the opposition.
In the case of the Vatican prayer meeting, Palestinian President Mahmoud Abbas and Israeli President Shimon Peres readily accepted the invitation, and Peres and Francis discussed the encounter during a lengthy meeting at the president's office.
"The humility in your nature and the power in your spirit raised a spiritual elation and a thirst for peace," Peres told him at a ceremony in the garden of the presidential residence.
The prospects of any breakthrough at the Vatican meeting next month are slim. Peres, a 90-year-old Nobel peace laureate, holds a largely ceremonial office and is set to step down this summer. But the pope's gesture seemed to send a powerful message to the region's leaders not to give up, weeks after the latest round of peace talks collapsed.
The atmosphere was starkly different in Francis' one-on-one with Israeli Prime Minister Benjamin Netanyahu, who has expressed anger with politicians who have reached out to Abbas at a time when the Palestinian leader is reconciling with the Islamic militant group Hamas. Israel considers Hamas, which controls the Gaza Strip, a terrorist group.
In his talks with Francis, Netanyahu lauded Israel's treatment of Christians and defended its West Bank separation barrier. Israel says the structure is a security measure. The Palestinians say it has gobbled up their land and stifled their economy.
"When incitement and terror against Israel stops, there won't be the need for the security fence which has saved thousands of lives," Netanyahu said.
The conversation turned awkward after Netanyahu told the pope that Jesus spoke Hebrew.
"He was speaking Aramaic," the pope replied with a smile. "He spoke Aramaic, and he also knew Hebrew," Netanyahu said.
After Francis made an unscheduled stop at the massive concrete barrier on Sunday, Netanyahu asked Francis to deviate from his whirlwind itinerary to pray at Jerusalem's Victims of Acts of Terror Memorial, which includes the names of hundreds of civilians killed in Palestinian and Arab attacks since 1851, Lombardi and Netanyahu's office said.