Hours after Marion's last-second dunk lifted the Heat past the Chicago Bulls, he was traded Friday to the Toronto Raptors in exchange for Jermaine O'Neal, ending a weekslong saga involving the expected deal of former All-Stars.
NBA officials approved the swap Friday afternoon by conference call.
"I developed an unbelievable relationship with Shawn," Heat star guard Dwyane Wade said in Phoenix, where he's part of All-Star weekend. "You're sad to lose a friend on and off the court. At the same time, Shawn and I just had this conversation that it's part of the business and we knew it was a possibility."
Toronto also gets guard Marcus Banks and cash considerations, while Miami will receive forward Jamario Moon and a future first-round draft pick, to come sometime between 2010 and 2015. It's lottery-protected, essentially meaning the first time the Raptors make the playoffs after this season, their first-rounder goes to Miami.
If Miami does not get that first-round pick in 2010, it will get an additional second-round pick that year. The Heat also get a $4.2 million trade exception, which would allow Miami to make a future trade even if the salaries involved don't match.
"This is a win-win for both Toronto and Miami and we wish J.O. and Jamario the best," said Raptors general manager Bryan Colangelo, who is familiar with Marion from his time with the Phoenix Suns.
Miami and Toronto discussed the deal for weeks and, with the trade deadline looming Thursday, decided to move forward. Miami also was linked to trade talk with several other teams, including Phoenix and Sacramento, and perhaps was able to coax the draft pick out of Toronto by waiting so long to make the deal.
The Heat said they called no other teams besides Toronto, but acknowledged fielding calls from others.
Marion - whom Miami acquired just over a year ago from Phoenix for Shaquille O'Neal - was referred to by both Heat coach Erik Spoelstra and president Pat Riley in recent weeks as the team's "second-best player" behind Wade.
He took a bounce pass from Wade and dunked with 1.1 seconds left Thursday night, lifting Miami to a 95-93 win and sparking the sort of on-court, chest-bumping celebration that's rarely seen in the regular season.
It was his last hurrah, though, with Miami.
Marion was a key part of Miami's 28-24 start to this season, averaging 12 points (third on the team behind Wade and Michael Beasley, who now could replace him in the starting lineup at small forward) and a team-best 8.7 rebounds.
"They're getting a great, great player in Shawn," Riley said.
But Marion wanted a long-term contract, something Miami was not willing to provide.
One of Miami's primary areas of concentration, just like every other team in the NBA, is keeping cap space clear for the summer of 2010, when the likes of Wade, LeBron James, Kobe Bryant, Amare Stoudemire and Chris Bosh can become free agents.
And this trade clears another $4.8 million in cap room for that summer; that's what Banks, who had fallen out of the rotation in Miami, would have been owed in the 2010-11 season.
"It sweeps the table, clears the table, for 2010," Riley said.
Plus, it gets Miami a true center in Jermaine O'Neal. The 30-year-old averaged 13.5 points and seven rebounds for Toronto, but has been slowed by injuries. He's owed nearly $23 million next season, but that money won't affect Miami's free-agent plans for 2010.
"It gives us some power down low, which since Shaq left we've been missing," Wade said. "We really need that to compete in the Eastern Conference. Our main thing is we need to get it together fast. Making a trade at this time sometimes makes it tough on teams to get everybody on the same page. Hopefully, we can."
Miami has played an array of players at center this season, including Jamaal Magloire, Joel Anthony, Mark Blount and even Udonis Haslem, a forward who gives up several inches in height and at least 20 pounds to every other true center in the NBA.
The Heat spent about six weeks studying O'Neal, who was evaluated by doctors in South Florida a couple weeks ago, and Riley said he was satisfied the trade makes Miami better.
"You've got to get honest with yourself and say if you're going to compete with the big boys, you've got to get somebody in the middle," Riley said.
Banks averaged 2.6 points in 16 games with Miami this year. He "should benefit from the change of address," Colangelo said.
Moon averaged 7.3 points in 54 games with Toronto, and becomes a free agent after this season. Wade sounded intrigued by the Moon acquisition.
"Jamario Moon is really under the radar as far as what he can do," Wade said.
With Banks gone, Miami has only two true point guards on the roster: Mario Chalmers and Chris Quinn. The Heat do have room to sign another player, so it's likely Riley will pursue either picking up a guard through free agency or making another trade.
© 2009 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.
CBS 8 invite you to play along with other San Diego football fans each week and pick the winners! See how you do against News 8's Sports Director, Kyle Kraska and win weekly prizes!