The Bruins on Friday announced the signing of forward Shawn Thornton to a two-year contract. NESN's Kathryn Tappen originally reported the deal on Thursday night.

Terms of the contract were not disclosed.

The 32-year-old Thornton will enter his fourth season with the Bruins as their primary enforcer. In his 211 games with the B's, he has racked up 11 goals, 17 assists, and 338 penalty minutes.

Thornton has played in 290 games in his NHL career and he won the Stanley Cup with the Anaheim Ducks in 2007.

Thornton led the Bruins with 21 fighting majors last season, tying him for fifth-most in the league. He also set a career high in assists with nine during his 74 games in the 2009-10 season.

The 6-foot-2, 217-pound forward was drafted 190th overall by the Toronto Maples Leafs in the 1997 NHL draft. He was traded to Chicago in 2001, where he played for three seasons. Before signing with the Bruins as a free agent in 2008, he played for Anaheim.