BOSTON (AP) — The Bruins have signed general manager Peter Chiarelli, who built the team that reached the Stanley Cup Finals twice in three years, to a four-year contract extension that would keep him in Boston through the 2017-18 season.

Chiarelli, 49, will enter his eighth season with Boston when training camp opens next month. The Bruins have qualified for the playoffs in six of his first seven years, compiling a 50-35 postseason record and winning the Stanley Cup in 2011.

Boston has compiled a 291-187-62 record with Chiarelli in the front office, and has had five seasons of 90 points or more.

Chiarelli will also continue on as alternate governor on the NHL’s Board of Governors, the team said Thursday. He is also a member of the Team Canada management group for the 2014 Winter Olympic Games in Sochi, Russia.

Under Chiarelli, the Bruins have gone 291-187-62 in the regular season. The former Harvard hockey captain spent seven seasons with the Ottawa Senators, the last two as the assistant GM, before joining the Bruins in 2006.