The long delayed results of Thailand’s first election since the 2014 military coup that have come in six weeks after the election show the opposition “democratic front” alliance have secured the most seats, but the ruling military junta’s existing policies mean a pro-army party could potentially choose the nation’s next prime minister.

The opposition threatened to take legal action over the results that were released on Wednesday saying that a new seat allocation formula deprived the alliance of a majority in the 500-seat House of Representatives.

The "democratic front" consisting of seven parties won a combined 245 seats in the House, falling just short of a majority in the 500-seat lower house.