BOSTON (CBS) — The Boston Bruins have solved a major need of their offseason, signing goaltender Linus Ullmark on Wednesday.

Darren Dreger first reported that the soon-to-be-28-year-old goaltender is headed to Boston.

READ MORE: Westford Academy To Change 'Grey Ghost' Mascot After Complaints

The Bruins signed Ullmark to a four-year contract with an annual NHL cap hit of $5 million.

Ullmark has spent his entire NHL career with the Buffalo Sabres. He started 20 games last year, going 9-6-3 with a .917 save percentage and a 2.63 GAA. In his career, he’s started 112 games with a 50-47-13 record, .912 save percentage and 2.78 GAA.

Also on Wednesday, the Bruins traded goaltender Dan Vladar to the Calgary Flames for a 3rd round pick in the 2022 NHL Entry Draft.

READ MORE: More Than 1,200 Mass. Kids Test Positive For COVID-19 This Week

Goaltending figured to be an issue for Boston, as Tuukka Rask required surgery to repair a torn labrum before entering free agency. With Rask not available until January or February, and with Jeremy Swayman having just 10 games of NHL experience, the Bruins needed a more seasoned veteran at least to start the upcoming season.

MORE NEWS: 7-Year-Old Girl Grazed By Bullet On Talbot Ave. In Dorchester

The 6-foot-4, 221-pound Ullmark was a sixth-round pick by Buffalo in 2012. He signed a one-year deal worth $2.6 million last year as a restricted free agent. Staff