New Zealand's Prime Minister resigned