NEW YORK (CBSNewYork/AP) — Johnny Boychuk and the New York Islanders have agreed on a long-term contract extension that assures that two of the club’s top defensemen will stick together well after the team locates to Brooklyn next season.

And if all goes according to plan, they’ll be bringing a new banner with them.

Boychuk received a seven-year deal Thursday, as Nick Leddy did late last month. Boychuk’s contract is worth $42 million, slightly higher than Leddy’s deal for $38.5 million.

Both players were acquired by the Islanders in trades Oct. 4, just before this season. Boychuk came from Boston, and Leddy from Chicago.

The moves helped turn the 2014-15 season — the team’s last at Nassau Coliseum before moving to Barclays Center — into one of the Islanders’ best in recent memory. The Isles (43-22-4) are one point behind the Metropolitan Division-leading Rangers.

In a video tweeted by the team, Boychuk said the Islanders’ success made his decision an easy one.

“We’re going to be a good team for a long time,” he said. “And it’s going to be the best chance to win a Stanley Cup.”

“That’s the goal,” added Boychuk, who won the Cup with the Bruins in 2011. “It would be a great way to say goodbye to the Coliseum.”

VIDEO: Hear from @JoBoych after signing a seven-year extension with the #Isles –> http://t.co/WWNJHK9sf8 — New York Islanders (@NYIslanders) March 12, 2015

This deal keeps the 31-year-old Boychuk from becoming an unrestricted free agent this summer and under contract through the 2021-22 season. Leddy, 23, could have been a restricted free agent.

Boychuk’s salary-cap charge will rise from this season’s $3.367 million to $6 million in each year of the deal.

Boychuk was acquired from Boston for a second-round pick in this year’s draft and a second-round choice in next year’s draft.

“Ever since I came to the Islanders, the organization has been incredible to both myself and my family,” Boychuk said in a statement. “I am proud to be an Islander and look forward to competing every night in front of such a passionate fan base for many years to come.”

Boychuk leads Islanders defensemen with 32 points, 25 assists and a plus-17 rating in 59 games. He has established career highs in goals, assists and points in his ninth season in the NHL.

He will earn $7.5 million next season, $7 million in each of the following two seasons, $6.5 million in the 2018-19 campaign, $6 million the next season, and $4 million in both of the final two years of the deal for a $42 million total.

“Johnny’s influence in our dressing room, both on and off the ice, has been immeasurable,” Islanders general manager Garth Snow said in a statement announcing the deal. “His veteran presence is an asset that we are thrilled to help lead our club.”

In 380 NHL games with Colorado, Boston and the Islanders, Boychuk has 26 goals and 81 assists. In 79 playoff games, including a Stanley Cup title with Boston in 2011, he has 13 goals and 14 assists.

He joyfully announced his new deal on Twitter, invoking the popular chant fans have used to celebrate every home goal this season in the final year at Nassau Coliseum.

Yes! Yes! Yes! For seven more years!! — Johnny B (@joboych) March 12, 2015

Leddy had played in New York’s first 68 games this season before an injury Monday forced him to miss the Islanders’ home matchup with the Rangers the following night. That ended his consecutive game streak at 320.

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)