Stoudemire confirmed his exit from New York on Monday before committing to the Mavs later in the day, according to ESPN.

However, the contract will not become official until Wednesday evening after he clears waivers, which will make him available as a free agent.

The 32-year-old had been looking to leave the Knicks in order to join a championship contender for the rest of this season, and with Dallas looking to bolster their front-court, it appears to be a perfect partnership.

However, Stoudemire did reveal that he is leaving New York with a “heavy heart”, and after Carmelo Anthony conceded that it was sad to see his former teammate leave, Stoudemire echoed that sentiment.

“I feel truly blessed to have been able to play for the incredible New York fans, Mr. Dolan, my coaches, teammates and the entire Knicks organization for the past five years. I will be forever grateful for the opportunity to contribute positively on the court and in the community.

“Although I leave the Knicks with a heavy heart, I wish the organization the best of luck. Once a Knick always a Knick.”

There wasn’t a shortage of interest in Stoudemire with the Golden State Warriors and Los Angeles Clippers amongst the teams that were reportedly following his situation.

However, with the Mavs at 36-19 for the season which is good enough for fifth spot in the Western Conference, he has made his decision as he also believes that he will have an effective role on the team given the players around him.

Stoudemire is averaging 12.0 points and 6.8 rebounds in 36 games so far this season despite the Knicks falling to an NBA-worst 10-43.

His exit will be another factor in helping the franchise rebuild, with team president Phil Jackson expected to make significant moves in free agency this summer with all the cap space he has at his disposal.