Kelly Olynyk tweets thank-you note to Boston

The center reportedly agreed to a four-year deal with the Miami Heat on Thursday.

Boston, MA - 5/15/2017 - (4th quarter) Boston Celtics center Kelly Olynyk (41) was pointing the way during the fourth quarter. The Boston Celtics host the Washington Wizards in Game 7 of the Eastern Conference Semi-Finals at TD Garden. - (Barry Chin/Globe Staff), Section: Sports, Reporter: Adam Himmelsbach, Topic: 16Celtics-Wizards, LOID: 8.3.2508922496. Barry Chin / The Boston Globe, File

A day after agreeing to a deal with the Miami Heat, Kelly Olynyk tweeted out a thank-you note to Boston on Friday.

The 7-foot center spent his first four seasons with the Celtics, averaging 9.5 points per game and 4.7 rebounds.

According to ESPN, Olynyk’s deal with the Heat is for four years and over $50 million.