Dirk Nowitzki and the Dallas Mavericks probably have the most loyal relationship basketball has ever seen.

Kobe Bryant, John Stockton, and Tim Duncan are all among those known for spending their entire Hall of Fame careers with one franchise, and ​Nowitzki certainly belongs among those names as well. But the new contract he'll sign today will allow him to surpass every last one of them and enter unprecedented territory.

​​Marc Stein of the New York Times first reported the deal, a one-year, $5 million arrangement. It will mark Nowitzki's 21st NBA season, and since he's spent the entire run with the Mavericks, he is set to break Bryant's record for the most seasons ever spent by an NBA player with one team.

Nowitzki is just 233 points away from passing Wilt Chamberlain as the NBA's fifth all-time leading scorer, but could come off of the Mavs' bench after they ​signed DeAndre Jordan to a one-year, $23 million deal. Nowitzki and the Mavs both agreed on the $5 million figure earlier in the summer, but decided to wait until free agency could play itself out a bit so the team could navigate their salary cap situation as carefully and precisely as possible.

Kudos to the Mavs for creating cap space to keep their legendary big man even while adding another one in DeAndre Jordan. Harrison Barnes, Dennis Smith Jr., and Luka Doncic help round out an intriguing group for this season.

Nowitzki underwent ankle surgery in April, but his heart is still been set on basketball. Expect a heartwarming season-long campaign for Dallas, as this may very well be Nowitzki's final year playing professionally.