Chris Andersen has agreed to re-sign with the Miami Heat on a multiyear deal.

The New York Knicks made a late push to sign Andersen, but he decided to remain with the club that helped him salvage his career.

Andersen played in nearly 20 minutes per game last season for the Heat.