Thailand's constitutional court has annulled the country's inconclusive April general election and ordered new polls to end months of political crisis.
"The constitutional court voted 8 to 6 that the elections were unconstitutional and voted 9 to 5 to hold a new election," said Judge Ura Wangomklang on Monday.
An opposition boycott of the election left empty seats in parliament and Thaksin Shinawatra, the prime minister, was unable to form a new government.
Thai academics had brought the case to the constitutional court, arguing that the elections were held too quickly, giving opposition parties inadequate time to prepare.
Abhisit Vejjajiva, the leader of the opposition Democrat party, welcomed the court decision, saying it was ready to re-join the electoral process
The party, which had argued the April poll was not fair, said it would participate in a re-run after a rare intervention by King Bhumibol Adulyadej last month.
Thaksin saw the election as a referendum on his leadership after months of street protests in Bangkok calling for his resignation over allegations of corruption and abuse of power.
After the inconclusive election, Thaksin said he was taking a "political break" and handed some tasks to his deputy.
In the past week he returned to the public eye, leading a cabinet audience with the king on Friday and fuelling speculation that his stepping aside was cosmetic.