The Detroit Pistons have agreed to a three-year, $60 million contract with free-agent forward Jerami Grant, according to The Athletic.

Grant, 26, averaged 12 points and 3.5 rebounds last season with the Denver Nuggets. He also factored into the team’s run to the Western Conference finals in his first year with the club.

He’ll join a drastically revamped Pistons squad that agreed to free agent deals with frontcourt players Mason Plumlee, Jahlil Okafor and Josh Jackson on Friday.

The Pistons have also been active on the trade front and are reportedly in agreement on a three-team deal that will bring Dallas Mavericks point guard Delon Wright to Detroit and send guard Trevor Ariza, acquired from the Houston Rockets on Wednesday, to the Oklahoma City Thunder.

The Thunder are also sending James Johnson to the Mavericks and receiving Dallas forward Justin Jackson and a future draft pick in that deal, per ESPN.

The deal will mark the third time Ariza has been traded this week. He was traded from Portland to Houston, before the Rockets shipped him to Detroit.

The Pistons selected point guard Killian Hayes (France) with the No. 7 pick and power forward Isaiah Stewart (Washington) with the 16th pick (acquired from Houston) in Wednesday night’s NBA Draft.