BEIRUT — Mediation between Jordan’s King Abdullah II and his outspoken half brother, Prince Hamzah, successfully de-escalated one of the most serious political crises in the kingdom in decades, the palace said Monday.

The apparent resolution of the unprecedented public feud capped a weekend of palace drama during which the king had placed Hamzah under house arrest for allegedly plotting with foreign supporters to destabilize Jordan, a key Western ally.

Jordanian authorities had accused the former crown prince of being involved in a “malicious plot,” along with two senior Jordanian officials. Hamzah, 41, denied the allegations, saying he was speaking out against corruption and mismanagement.

The announcement of the successful mediation came after Abdullah’s paternal uncle, Hassan, met with Hamzah on Monday.

The mediation took place at Hassan’s home at the Royal Hashemite Court. Hamzah was joined by his brother Hashem and three of their cousins.

“In light of the developments of the past two days, I put myself at the disposal of His Majesty the King,” said the statement signed by Hamzah. He said he would remain loyal to the king and to Jordan’s Constitution.

The incident appeared to erupt Saturday when Jordan’s army chief visited Hamzah and — according to the prince’s description — imposed restrictions on his movement and ability to communicate with the outside world.

Earlier Monday, it appeared tensions were still running high in the kingdom. A recording circulated online in which Hamzah sounded defiant, saying he would not take orders from the army chief.