​It's been speculated for the entire season, and even part of last year, but now it's ​officialDirk Nowitzki has announced his retirement from the ​NBA

After 21 seasons with the ​Dallas Mavericks, the German superstar is calling it a career. The 40-year-old revealed his plans to retire on Tuesday after the Mavs' final home game of the season. 

Nowitzki drained a season-high 30 points and adding 8 rebounds and 3 assists in his last dance on the Mavs' home floor. 

He announced after the game that it was his final time suiting up at the American Airlines Center. He gave a heartwarming speech, during which he teared up in front of the ​home crowd that so warmly welcomed him into the league as a 20-year-old from Germany.

He's become a fan-favorite and a legend in the city of Dallas, having led the team to an NBA Championship in 2011. 

​​Nowitzki is one of the best international talents in NBA history and is one of the most beloved faces the league has ever come to know. 

Throughout his esteemed career, Nowitzki posted averages of 20.7 points, 7.5 rebounds and 2.4 assists per game. He made 14 All-Star appearances, was named the 2006-07 MVP, the 2011 NBA Finals MVP, and made All-League honors in 12 seasons. 

A truly incredible career has reached its curtain call, and the NBA is forever humbled by the passion and joy which Nowitzki brought to the game. Not to mention his signature turnaround jumper that players imitate to this day.