Ports of Auckland workers have settled a long-running dispute with their employer.
Negotiations broke down following the end of the previous agreement in 2006 and staff went on strike several times last year.
Ports of Auckland managing director Jens Madsen says union members on Friday voted to ratify a new collective employment agreement.
Mr Madsen says the deal includes a pay rise over the two-year period of the agreement, and changes to some working conditions, but did not reveal details.
The agreement covers 300 staff, which is about half of those employed at the port.
The Maritime Union has been unavailable for comment.