The Miami Heat and Memphis Grizzlies have agreed to a trade of Andre Iguodala.

Iguodala has agreed to a two-year, $30 million extension with the Heat as part of the deal. The second season of the deal in 21-22 will be a team option for the Heat.

The Grizzlies will acquire Justise Winslow as part of the deal.

Iguodala was on an expiring contract and had been linked with an eventual return to the Golden State Warriors.

Iguodala's believed preference going into the deadline was to end up with either the Los Angeles Clippers or Los Angeles Lakers.