In a state televised address, Jordan's King Abdullah said that the worst political crisis in decades sparked by an alleged plot involving his half-brother Prince Hamzah was over. "I assure you, that the sedition has been nipped in the bud," news agency AFP quoted Abdullah as saying.
"The challenge of these last days was not the most dangerous for the stability of the country -- but it was the most painful for me".
Foreign Minister Ayman Safadi on Sunday charged that the plotters had linked up with foreign parties, but had declined to identify them.
Reacting to the events, Abdullah said he felt "shock, pain and anger as a brother and guardian of the Hashemite family and as a leader of this dear people".
Hamzah was appointed crown prince in 1999 in line with his father's wishes, but Abdullah stripped him of the title in 2004 and named his eldest son in Hamzah's place.
After claiming he was put under house arrest Saturday, Hamzah had made extensive use of traditional and social media to lash out against his situation.
He accused Jordan's rulers of corruption and ineptitude in a video message published by the BBC on Saturday.
But after a statement voicing his loyalty to the king on Monday, Abdullah said Wednesday that Hamzah had offered his support for the monarchy.
"Hamzah is now with his family in his palace under my protection," Abdullah said in his address.
"He has committed before the (Hashemite) family to follow the path of his parents and grandparents, to be faithful to their message, and to place the interest of Jordan, its constitution and its laws above all other considerations."
Investigations continue, the king said.
The crisis had laid bare divisions in a pro-Western country usually seen as a bulwark of stability in the Middle East.