Phil Goff has won the Auckland Mayoral Election.