Thailand’s parliament elected the youngest prime minister in Thailand’s history, 37-year-old Paetongtarn Shinawatra, today, just a day after the wealthy family heiress rose to prominence amid an unrelenting power struggle among the country’s elites.

Thaksin Shinawatra’s daughter, sole candidate for prime minister, was elected by parliament and now faces a baptism of fire, just two days after her ally Shreta Thavisin was removed as prime minister by the judiciary, which has central role in the two decades of turmoil that the country has faced, intermittently.

At stake with Paetongtarn is the legacy and political future of the billionaire Shinawatra family, which last year faced its first election defeat in more than two decades and had to make a deal with its enemies in the armed forces to form a government.

Paetongtarn will become the second female prime minister and the third member of the Shinawatra family to become prime minister, after her aunt Yingluck Shinawatra and her father Thaksin, the country’s most polarizing and influential politician.

Paetongtarn comfortably won 319 votes, or almost two-thirds of the parliament. She was not present in parliament and watched the vote from the headquarters of her party, Pheu Tai.

Her first public comment on her victory was to upload a photo of her meal – chicken and rice – on Instagram with the caption: “First meal after hearing the vote.”

Paetongtarn has never been a member of the government and the decision to enter the game is a gamble for Pheu Tai and 75-year-old Thaksin, Reuters notes.

She will face challenges on many fronts, with the economy faltering, competition from a rival party intensifying and Feu Tai’s popularity waning, all while implementing her central cash distribution program. amounting to 500 billion baht ($14.25 billion).

“The Shinawatras’ move is risky,” says Natabhorn Bouamahakul of Vero Advocacy.

“It targets Thaksin’s daughter and puts her in a vulnerable position.”