He took almost six weeks after the election to reach a coalition agreement with another two parties: the populist New Zealand First party and the libertarian ACT Party.