The union that represents Boston’s WHDH-TV anchors and reporters has come to an agreement with the station for a new three-year contract that provides 2 percent raises in exchange for the gradual phasing out of fees paid to anchors and reporters for appearing on air.

The Boston Globe reports that this agreement is more than two years in the making and took some “difficult and protracted” negotiation.

After the station and AFTRA‘s Boston chapter couldn’t agree on the fee and salary structure or on how to handle age discrimination complaints, talks broke off over the summer, and the union even went so far as to urge its members to boycott WHDH’s high-profile health expo, which meant viewers couldn’t meet their favorite anchors as promised.

Pay for on-air talent is based on a combination of base salary and on-air appearance fees, which can account for up to half a reporter’s pay, the Globe says. But “People are glad that it’s [the negotiation is] over, and wanted to move forward,” Tom Higgins, executive director of the guild, told the Globe.