AMMAN/BERLIN - Jordanian King Abdullah II again warned Israel Thursday against any move to change the status quo at Jerusalem’s Al-Aqsa mosque compound, while reiterating calls for a two-state solution to the Israeli-Palestinian conflict.

The king, whose country has custodial rights over Muslim and Christian holy sites in Jerusalem, made his remarks in a statement after a meeting with UN chief Ban Ki-moon. Ban has already met Israeli Prime Minister Benjamin Netanyahu and Palestinian president Mahmud Abbas in a bid to get the two sides to rein in violence that has killed 60 people in three weeks.

Angry Palestinians clashed with Israel police over several days in September, spurred by fears Israel is seeking to change the rules governing the site, sparking the latest wave of violence.

Jordan has previously denounced Israeli actions at the mosque compound, saying they amount to “aggression” against Arab and Muslim nations.

The king warned against “any attempt to change the status quo”, which Netanyahu has repeatedly promised to preserve. The site is the third-holiest in Islam and the holiest to Jews, who call it Temple Mount.

He added that “achievement of a just and comprehensive peace, on the basis of a two-state (Israeli and Palestinian) solution, is the only way out of the crisis in the region.” For his part, according to the statement from the royal palace, Ban stressed what he said was the “responsibility of the international community... to achieve a just and comprehensive solution to the Palestinian question.” US Secretary of State John Kerry expressed “cautious optimism” following talks with Israeli Prime Minister Benjamin Netanyahu Thursday on defusing spiralling Israeli-Palestinian tensions.

“I would characterise that conversation as one that gave me a cautious measure of optimism that there may be some things that could be in the next couple of days put on the table,” Kerry said in Berlin.

These “would have an impact, I hope, on the perceptions of everybody engaged that there is a way to defuse the situation and begin a way forward,” he added. Kerry said he spoke about several issues with Netanyahu that would now need to be raised with Palestinian president Mahmud Abbas and Jordan’s King Abdullah II.

“If parties want to try, and I believe they do want to move to a de-escalation, I think there are sets of choices that are available,” he said.

“I look forward to meeting with King Abdallah on Saturday and president Abbas and hope ... we can seize this moment and pull back from the precipice,” added Kerry. The latest spate of Israeli-Palestinian violence erupted on October 1 and has sparked fears of a new Palestinian intifada, or uprising.

Two alleged Palestinian attackers attempted to board a bus carrying children west of Jerusalem on Wednesday, and stabbed an Israeli before being shot, police said.

One of the alleged attackers was killed, while the second was in critical condition.

The two men were blocked from entering the bus in Beit Shemesh by the driver and others. They then stabbed and moderately wounded a 25-year-old Israeli man near the bus station, police spokesman Micky Rosenfeld said.

A private security guard accidentally shot dead an Israeli man in Jerusalem late Wednesday after mistaking him for a “terrorist”, a police spokesman said.

The incident occurred when a passenger getting off a bus got into an argument with two armed guards trying to get on it.

According to the guards, they asked the passenger for his identity papers but he then attempted to grab the gun from one of them who took him to be a “terrorist” and shot him dead, police said. The shooting comes amid heightened tensions over spiralling Israeli-Palestinian violence.