BOSTON -- The Boston Bruins have signed restricted free-agent goalie Tuukka Rask to an eight-year, $56 million contract, the team announced Wednesday.

Rask's salary is worth an annual cap figure of $7 million, which ties him with Pekka Rinne of the Nashville Predators as the league's highest paid goalie.

The 26-year-old Rask helped the Bruins reach the Stanley Cup finals against the Chicago Blackhawks this past season. He posted a 19-10-5 record, a 2.00 goals-against average, a .929 save percentage and five shutouts in 36 games during the regular season. During the Stanley Cup playoffs, he posted a 1.88 GAA and a .940 save percentage, including three shutouts.

In June 2012, Rask and the Bruins agreed on a one-year contract worth $3.5 million. The deal worked for both sides, and Rask earned a big payday Wednesday with his 2013 performance.

Since the Bruins acquired his rights via trade with the Toronto Maple Leafs in exchange for goaltender Andrew Raycroft on June 24, 2006, Rask had been tagged as the goalie of the future in Boston. He made his pro debut with the Providence Bruins in 2007, and proved he had the ability to compete at a high level, posting a 27-13-2 record that season for the AHL affiliate.

Rask made his NHL debut for the Bruins in 2007-08 and posted a 2-1-1 record in four games. While Rask continued to hone his skills as a pro, Tim Thomas was the No. 1 goaltender in Boston. During the 2009-10 season, Thomas and Rask split time between the pipes. Down the stretch of the regular season, and with Thomas battling a hip injury, Rask took over and was the starter for the Stanley Cup playoffs. Rask and the Bruins defeated the Buffalo Sabres and world-class goalie Ryan Miller in the first round, then had a 3-0 series lead on the Philadelphia Flyers in the conference semifinals before dropping the next four games.