The prime minister was declared the winner of a flawed election in November , but the Supreme Court overturned the results and ordered this month 's re-run .