Marcus Smart and the Boston Celtics have agreed to a four-year, $52 million deal.

Smart was a restricted free agent.

Smart could have played the 18-19 season under the $6 million qualifying offer to become an unrestricted free agent next offseason.

Smart and the Celtics discussed a four-year, $50 million extension before the 17-18 season.