The election took place seven months earlier than originally planned.