The Detroit Pistons and veteran swingman Joe Johnson have agreed to terms on a deal, according to ESPN and multiple reports.

Johnson, 38, last played in the NBA in the 2017-18 season. He recently was named the MVP of the BIG3 and led his team, the Triplets, to the league championship.

Johnson averaged 16.0 points per game in 17 seasons in the NBA.

In his most recent NBA action, Johnson averaged 6.0 points on 38.1% shooting in 23 games for the Houston Rockets in 2017-18. In the 2018 playoffs, he saw his playing time cut to just 6.8 minutes per game as the Rockets advanced to Game 7 of the Western Conference finals before falling to the Golden State Warriors.

He played for Brooklyn from 2012 to ’16, earning one of his seven career All-Star appearances.

Aside from the Pistons, Johnson also worked out earlier this month with the Bucks and Nets, according to ESPN and reports.