Dwyane Wade is staying in Miami. Wade informed the Heat on Thursday that he will accept their one-year offer to re-sign for $20 million for next season, said a person familiar with the negotiations. No NBA deals can be finalized until July 9.

The decision ends a weekslong, sometimes-contentious saga between the Heat and its franchise player. Wade was open to the idea of leaving Miami over a contract dispute, more so than ever before.

But in the end, the three-time champion and the only team for whom he's played worked out a deal that conceivably could mean he will finish his career in Miami.

An 11-time All-Star, Wade averaged 21.5 points this past season.

Ellis joins Pacers

The Indiana Pacers got the shooting guard they wanted.

Monta Ellis reportedly agreed to terms with the Pacers on a four-year deal worth $44 million. The contract cannot be signed until July 9.

Ellis gives the Pacers a better chance of making a smooth transition from the plodding, half-court offense they used to make the Eastern Conference finals in 2013 and 2014 to an up-tempo style that is flourishing around the league.

He averaged 18.9 points and 4.1 assists in his second season with Dallas last year.

A second person with knowledge of the negotiations said Ellis turned down a $48 million offer from Sacramento.

Monroe picks Bucks

Center Greg Monroe chose the Milwaukee Bucks over other big-market suitors such as the New York Knicks and Los Angeles Lakers, agreeing to a three-year, $50 million deal. Monroe has a player option on the final year of the deal that will allow the 25-year-old to become a free agent again in two years if he chooses.

Monroe averaged 15.9 points and 10.2 rebounds for the Detroit Pistons last year and was one of the most coveted big men on the market.

Duncan returning

Tim Duncan is returning to San Antonio for a 19th season with the Spurs.

Duncan told the San Antonio Express-News that "I'll be on the court next year." Until Duncan made his announcement Thursday, there was speculation that he could call it a career.

Many expected him to return, particularly since he was coming off such a strong season. Duncan averaged 13.9 points, 3.0 assists and 2.0 blocks and earned third team All-NBA and second team All-Defense honors.

Duncan turned 39 in April and accompanied the Spurs on a recruiting trip for star free agent LaMarcus Aldridge on Wednesday.

Suns-Pistons trade

The Suns traded Marcus Morris, Danny Granger and Reggie Bullock to the Pistons for a future draft pick.

The move was very likely a bid to clear salary space to try and get Aldridge, who is also being courted by the Blazers, Spurs, Lakers and Heat.

Etc.

Ed Davis is leaving Los Angeles for Portland.

Davis agreed to a three-year, $20 million contract to join the Blazers. He averaged 8.3 points and 7.6 rebounds in his first season with the Lakers last year.

With uncertainty surrounding free agent Aldridge, the Blazers grabbed the athletic and versatile Davis to add to a roster in flux. If Aldridge does return, Davis would be a valuable role player off the bench.

Arron Afflalo is about to team up with Carmelo Anthony again. Afflalo accepted a two-year, $16 million offer from the Knicks.

A shooting guard, Afflalo spent parts of two seasons as Anthony's teammate in Denver. Afflalo also has spent time with Detroit, Orlando and Portland, averaging 11.4 points per game in his first eight NBA seasons.

•The Pelicans and center Omer Asik agreed on a five-year contract worth a minimum of $44 million and rising up to $58 million if incentives and benchmarks are met. The 7-foot Asik, who turns 29 on Saturday, started 76 games and averaged 7.3 points and 9.8 rebounds this season, his first with New Orleans following a trade from Houston.

•The Kings agreed to send Nik Stauskas, Jason Thompson and Carl Landry to the Philadelphia 76ers as part of a salary-shedding move to pursue free agents.

It wasn't immediately clear who the Kings were receiving in return or if draft picks were involved.

The move clears more than $16 million in salary cap space for the Kings next season.

Damian Lillard agreed to terms with the Trail Blazers on a five-year extension worth more than $120 million.

•The Wizards acquired forward Jared Dudley from the Bucks for a future second-round draft pick.