Seven Thai pro-democracy parties on Wednesday declared they had won enough seats in Sunday’s election to form a majority government to replace the ruling military junta.

The full and final results of the poll, the first since a military coup in 2014, have not yet been released after an election campaign overshadowed by accusations of irregularities and unfairness.

However, the leader of Pheu Thai, the party which headed the last elected government and which is aligned to Thaksin Shinawatra, the exiled former prime minister, declared on Wednesday that a coalition with six other parties would push the alliance over the required 250-seat threshold.

“Today, we hold the fact that parties on the side of democracy have received majority support from the people, although figures are not stable yet,” said Sudarat Keyuraphan.

According to partial results released on Monday by the nation’s Election Commission, Pheu Thai so far has the most seats in the lower House of Representatives, with 137 out of 500, compared to 97 for the pro-military Phalang Pracharat party, led by former coup leader General Prayuth Chan-o-cha.

However, the results have only been declared for 350 of the seats, leaving the outcome of the election in doubt.