DALLAS — Dirk Nowitzki’s new contract will give the Dallas forward a chance spend 20 seasons with the only franchise he has ever played for.

The Mavericks and Nowitzki have reached agreement on a two-year, $40 million contract, a person with knowledge of the deal told The Associated Press on condition of anonymity Tuesday because contracts can’t be signed until Thursday. Nowitzki will have a player option in the second year.

The person also said the Mavericks have agreed to a two-year, $6 million contract with free agent guard Seth Curry, the younger brother of two-time MVP Stephen Curry.

At $20 million per season, Nowitzki’s deal is a significant raise for the 38-year-old, who opted out of the final year of a three-year, $25 million deal that was a huge discount for the Mavericks.

L.A. Lakers star Kobe Bryant was just the fifth player in NBA history to reach 20 seasons and he retired in April as the only one so far to do it all with one team. Tim Duncan of the Spurs is considering whether to return for a 20th season in San Antonio.

GRIZZLIES: The team hired Keith Smart and Adam Mazarei as assistants on new coach David Fizdale’s staff.

Smart and Fizdale worked together the last two seasons as assistant coaches with the Miami Heat.

76ERS: A person with knowledge of the negotiations told The Associated Press that Philadelphia has agreed to terms with guard Gerald Henderson on a two-year deal worth $18 million.

HORNETS: Center Roy Hibbert and point guard Ramon Sessions agreed to terms with the Hornets, a person with knowledge of the situation told The Associated Press.

KNICKS: Willy Hernangomez was teammates with Kristaps Porzingis in Spain, and will be reuniting with him in New York next season.

The Knicks reached an agreement on a multiyear deal with Hernangomez, a source said. The 6-foot-10 center played for ACB power Real Madrid this past season, and averaged 5.8 points and 3.7 rebounds in 40 games. He played with Porzingis on Sevilla the prior two seasons.

WARRIORS: A person with knowledge of the negotiations told The Associated Press that David West is headed to Golden State on a one-year deal to try to land that elusive championship.

SPURS-JAZZ: A person with knowledge of the deal said San Antonio traded Boris Diaw to Utah for point guard Olivier Hanlan.

Diaw, 33, a key member of the Spurs’ 2014 championship team, averaged 6.4 points and 3.1 rebounds last season.

Diaw tweeted, “Spurs’ fans, thanks for all your messages. Great years here and a ring! Leaving but San Antonio will always be a special place to me.”

WIZARDS: Former NBA head coach Sidney Lowe and interim coach Tony Brown were hired as assistants to Scott Brooks.