After the election, Ardern and Deputy Leader Kelvin Davis began talks with the Greens and New Zealand First parties about forming a coalition against National Party which did not haven enough seats for a majority. On 19 October 2017, New Zealand First leader Winston Peters agreed to form a coalition with Labour, making Ardern the next Prime Minister. The Green Party also supported the coalition. Ardern named Peters as Deputy Prime Minister and Minister of Foreign Affairs. She also gave New Zealand First five posts in her government, with Peters and three other ministers in her Cabinet.