BANGKOK - Thailand's military chief, Prayut Chan-o-cha, is applying all resources to ensure his prime minister position remains unchallenged Sunday, when the first poll since 2011 is held here.
Prayut says if he wins, voters would be returning his junta-led country to a "democracy."
Prayut's biggest threat remains the exiled Shinawatra family and whether he can develop enough cross-party support to give his leadership the impression of legitimacy.
Few doubt General Prayut will return as prime minister. A friendly constitution that grants the military unprecedented say in forming a civilian government will bolster that prospect alongside opposition parties that have been stymied by five years of harsh military rule.
As the U.S.-based Council on Foreign Relations recently noted, "The kingdom looks unlikely to resolve its political tensions, no matter the result of the vote.
"Instead, Thailand seems destined for continued political instability, although that instability could come in different forms, depending on the results of the election."
About 52 million Thais will cast ballots for the 500-seat House of Representatives. There will be 350 members elected directly, and 150 seats will be awarded based on a party's popularity. Members in the 250-seat Senate will be appointed entirely by the armed forces.
That gives Prayut and his Phalang Pracharat party the advantage. The next prime minister will be elected in a joint sitting of both houses, thus he needs as few as 126 seats to secure power, while other political parties need at least 376 seats.
Titipol Phakdeewanich, dean of the Faculty of Political Science at Ubon Ratchathani University, said it was unlikely any of the opposition parties could earn enough votes to elect their own prime minister.
"It will be very difficult because the constitution has already helped Prayut to remain in power by giving power to the senators to vote for prime minister after the election. So who decides?" Titipol said.
"Not just the house of parliament but the senators will also have some say in this election of prime minister," he added.
Almost 80 parties will field more than 2,700 candidates. The Phalang Pracharat Party also has the option of forging a coalition with the Ruam Palang Prachachat Thai Party and the People's Reform Party.
That worries some Thais. Nongnapat Patcham, a registered voter in Los Angeles, said the sheer number of parties means there is not an equal opportunity for all of them to get their message out to the voters. She says the ruling party has an unfair advantage in this election.
The Thai constitution gives expats the right to vote in the country's elections. This year, "around 120,000 Thais around the world have registered to cast their votes," Thani Thongpakdi, Deputy Permanent Secretary of the Ministry of Foreign Affairs, told VOA. He said about 15,000 Thais will be voting by mail-in ballots in the Unites States.
Prayut's biggest challenge will stem from the Shinawatra-backed Pheu Thai Party, popular in the rural heartland, and Future Forward Party, led by young entrepreneur Thanathorn Juangroongruangkit, who is hoping to win the youth vote.
Titipol, however, said that is not guaranteed.
"When we talk about the seven-, eight million new voters, they would actually mean a lot to the future of democracy if they vote. But that doesn't mean all their votes would actually go to the Future Forward Party; some of them grew up with families when Pheu Thai was in power," he said.
Promised elections have been persistently delayed since Prayut ousted Yingluck Shinawatra in a 2014 coup, after months of political turmoil and a constitutional court ruling that removed her for abuse of power.
Yingluck's brother, Thaksin, was pushed from leadership by the military eight years earlier.
Both live in exile amid allegations of corruption. Despite that, parties aligned with the family have won every Thai election since 2001.
Analysts said Pheu Thai and its allies can only be expected to win up to 160 seats, gaining a further 70 through alliances. That's not enough to form a government.
The Democrat Party, however, remains in the mix and its leader and former prime minister, Abhisit Vejjajiva, says he will not support Prayut's return. For the anti-military parties — including Pheu Thai, the Democrats and Future Forward — to defeat Prayut, they must win a combined majority.
Observers say that is unlikely and that it would be almost impossible to find common ground to form a grand coalition, noting Thaksin and the Democrats are natural enemies and Future Forward is offering an alternative from the color-coded — red shirt, yellow shirt — politics of the past.
They say Abhisit could emerge with a face-saving minor victory if Prayut falters and needs his votes. Reform-minded Democrats might then decide compromise and a deal are the better options.
Historian Chris Baker, co-author of A History of Thailand, said opinion polls showed that more than half the people polled had not decided on whom they would vote for and drew comparisons to recent elections in the United States, France and the Brexit process in Britain.
"The key to understanding this election is that the voting is going to be more emotional than rational. Why should that not be, after all we've seen [U.S. President Donald] Trump and Brexit and [French President Emmanual] Macron. They're essentially very emotional results of elections, so why should that not happen here?" he questioned.
The lead-up to this poll was controversial.
The National Election Commission cleared Prayut of being a "state official," which would have barred him from competing. It also cleared Future Forward's Thanathorn of allegations he posted misleading information online.
The Shinawatra-friendly Thai Raksa Chart Party was not so lucky. It was dissolved and its executive board members banned from political activity for 10 years after they attempted to nominate Princess Ubolratana Mahidol as a prime ministerial candidate.
Since 1932, Thailand has been riddled by at least 13 military interventions.