The New York Knicks and Robin Lopez are finalizing a four-year, $54 million agreement.

Lopez agreed to a deal on Thursday evening contingent on DeAndre Jordan not signing with the Knicks. Only an improbable change of heart from Jordan stands in the way of the deal between Lopez and the Knicks.

The Knicks have also targeted LaMarcus Aldridge and Greg Monroe this offseason and Lopez is at least their fifth choice to improve the frontcourt.