Former Dallas Mavericks player Dirk Nowitzki. Jerome Miron-USA TODAY Sports

It has been two years since Dirk Nowitzki retired following a legendary playing career with the Dallas Mavericks, but the 14-time All-Star is rejoining the team in a new role.

Nowitzki told Mark Stein of the New York Times on Friday that he is going to serve in an advisory role with the Mavericks. He said owner Mark Cuban approached him and asked for help, specifically with finding a new head coach and president of basketball operations.

Nowitzki is the best and most beloved player in Mavericks franchise history. It makes sense that Cuban wants him on board during a time of massive change. Nowitzki also has a close relationship with Luka Doncic from the lone season the two spent as teammates.

The Mavericks say they mutually agreed to part ways with Donnie Nelson this week, but reports indicate the longtime GM was fired. Rick Carlisle then stepped down as head coach the following day. Doncic did not seem pleased with one of the moves, but perhaps he will feel better with Nowitzki helping the Mavs through their transitional period.

More must-reads:

TODAY'S BEST
Chiefs' Rashee Rice reportedly under investigation for alleged assault
Ryan Garcia takes big step following positive drug test
Cowboys VP backs Dak Prescott despite lack of contract extension
Cubs get major boost to lineup as former MVP returns from IL
Ohio State tops analyst's college football post-spring Top 25
Lions bringing back safety after gambling suspension
Tyler Boyd signs with AFC team
NHL announces 2024 Hart Trophy finalists
Jimmy Butler's agent responds to Heat president's criticism of star client
Giants claim former Patriots QB off waivers
Nuggets melt down under Timberwolves' pressure to go down 0-2
Watch: Knicks' Donte DiVincenzo makes, absorbs big shot to win Game 1
Bruins take series opener over Panthers in 5-1 rout
Spurs' Victor Wembanyama unanimously wins NBA Rookie of the Year award
Phillies remain MLB's hottest team with dominant Zack Wheeler performance
Heat president Pat Riley calls out Jimmy Butler twice following playoff exit
Brooks Koepka sets up epic clash with Scottie Scheffler at PGA Championship
How Tom Brady's investment in English soccer team cratered
Week 12 NASCAR power rankings: Kyle Larson distances himself with historic win
Ex-GM confident 49ers can avoid breaking the bank on Brock Purdy extension