Via nba.com

The Dallas Mavericks, Oklahoma City Thunder and Detroit Pistons have struck a three-team deal involving four players, according to Adrian Wojnarowski.

Here’s the full deal:

  • Mavericks get James Johnson from Thunder
  • Pistons get Delon Wright from Mavericks
  • Thunder get Trevor Ariza from Pistons, Justin Jackson from Mavericks and future draft picks

Before being acquired by the Mavericks in the deal, Johnson, 33, was just traded from the Minnesota Timberwolves to the Thunder.

Ariza, 35, had a similar situation before being acquired by the Thunder in this deal, as he was recently traded from the Portland Trail Blazers to the Houston Rockets, then rerouted to the Pistons.

The Mavericks made the move to open up a roster spot and add some veteran toughness, according to ESPN’s Tim MacMahon, who also notes that they intend to keep Johnson, who could also have value as a $16 million expiring contract in the trade market.

Wright, 28, meanwhile, will be reunited with his former coach from the Toronto Raptors, Dwayne Casey, on the Pistons.