Sunday's election showcased an extraordinary surge by the progressive Move Forward party that almost had a clean sweep of the capital Bangkok, followed closely by the populist Pheu Thai party, which had been the dominant force in every Thai election this century.
Between them the two opposition parties decimated parties with ties to the royalist army but it is far from certain the opposition will form the next government, with parliamentary rules drafted by the military after a 2014 coup skewed in favour of its allies.
To govern, agreements may need to be struck with multiple camps, including rival parties and members of a junta-appointed Senate with a record of favouring conservative parties led by generals.
[1/2] Move Forward Party leader and prime ministerial candidate, Pita Limjaroenrat, looks up at the crowd during the general election in Bangkok, Thailand, May 14, 2023.
Pita said on Sunday he was ready to partner with Pheu Thai but Paetongtarn Shinawatra, one of her party's prime ministerial candidates, said it was too soon to discuss.