A Thai political party swore loyalty to the king after the astonishing decision to nominate the sister of the monarch as a candidate for the prime minister failed when the king called the movement inappropriate and unconstitutional.

The declaration of allegiance comes when the country reflects on a whirlwind Friday in which princess Ubolratana Mahidol broke with the tradition that banned the monarchy's involvement in politics to become a candidate for the Thai Raksa Chart Party, only for her brother, king Maha Vajiralongkorn, her action invalid with a late night order.

The statement by Thai Raksa Chart said that the party accepted the order of the king loyal and expressed deep gratitude to Ubolratana for her kindness towards the party.

Ubolratana, who is active on Instagram, did not mention the king's order in a Saturday message, only thanked people for their support and encouragement and insisted on her sincere desire to see Thailand make progress with rights and opportunities for all its people.

The March 24 elections in Thailand are the first in the country since a 2014 military coup has set up a junta that is determined to reform the political system to eradicate the influence of former Prime Minister Thaksin Shinawatra, whose allies since 2001 have election.

It was therefore not only a shock that Ubolratana formally entered politics, but also that she did so in an alliance with a party backed by Thaksin. Her candidacy would have protested her against the leader of the junta and the current prime minister, Prayuth Chan-ocha, the preferred choice for prime minister of the pro-royalist army.

Thaksin has been in exile since 2008, two years later it was expelled by the army in a coup of 2006. The establishment in Thailand has been trying for more than a decade to neutralize its political machine through court rulings, constitutional rewriting and other changes in the electoral system. In addition to the deepening of the political contradictions based on protests and street violence, the campaign has had little success.

"Stay ahead and stay ahead! We learn from past experiences, but live for today and the future." Cheerful! Life must continue! "Thaksin tweeted on Saturday.

Only eight years after he had ousted him, the soldiers stepped back to remove his sister's government.

Thaksin remains extremely popular with the country's national majority, who were attracted to his populist policies, such as universal health care and rice subsidies, and were willing to overlook allegations that he enriched himself during his ministry. But the popularity of Thaksin made the Bangkok-based establishment uncomfortable and some saw its popularity as a threat to the monarchy itself.

Thaksin, who escaped from Thailand to prevent him from being imprisoned because of a conflict of interest that he believed was political, was generally believed to have been involved in setting up Ubolratana's candidacy. That shook the Thai royalists, who have long seen their campaign against Thaksin as a way to protect the monarchy.

It was generally assumed that Ubolratana, who was thought to be near her brother, had at least got his approval for her action. What really happened behind the scenes will probably not be revealed, because the private affairs of the royal family are almost never leaked.

Vajiralongkorn's order emphasized that the Constitution of Thailand insists that the king and the people around him remain above politics and that the principles of the democratic government also free politics from the limit.

It went directly to the point that his sister was a member of the royal family, though her formal royal titles had been lifted decades ago when she married a foreigner.

Her candidacy had caused great excitement, as it provided the opportunity for a strong challenge to regain Prayuth's job. Her association with the monarchy was seen as making it difficult for royalists in parliament, which the prime minister chooses, to vote against her.

Prayuth was seen as the leader, because changes in constitutional law and electoral rules were implemented by his government to make it difficult for political parties without military support to conquer the prime minister's post.