The Miami Heat have made it official with the expected Josh McRoberts trade with the Dallas Mavericks.

In the first of an expected series of transactions today, the Heat found a trade partner to clear much needed salary cap space without having to give up too much in order to jettison McRoberts. Miami thankfully didn’t have to include any other players in the deal, instead sending a 2023 second round pick and cash considerations to Dallas in exchange for center AJ Hammons.

OFFICIAL: The Miami HEAT have traded Josh McRoberts, a 2023 2nd round draft pick & cash considerations to Dallas in exchange for AJ Hammons. pic.twitter.com/7ZoattN7Rm — Miami HEAT (@MiamiHEAT) July 7, 2017

The versatile big man signed with the Heat on July 14, 2014 after a successful stint with Charlotte but was constantly injured throughout his time in Miami. In fact, he was recovering from offseason toe surgery right from the very beginning.

He ended up appearing in in 81 games (19 starts) with Miami and averaged 4.1 points, 2.8 rebounds, 2.0 assists and 15.7 minutes.

From the Heat’s press release: