DALLAS — A person with knowledge of the agreement says the Dallas Mavericks and Dirk Nowitzki have agreed on a two-year, $10 million deal that assures a 20th season for the star forward.

advertisement | advertise on newsday

The second year of the contract carries a team option, the person told The Associated Press on condition of anonymity because the team hasn’t announced the deal. The 39-year-old Nowitzki is set to join Kobe Bryant of the Los Angeles Lakers as the only players to spend 20 seasons with one franchise.

The deal is similar to the one the Mavs and Nowitzki reached last year, although for significantly less money. Last year’s contract was for two years and $50 million, and the club declined the option before free agency opened this year.