Dallas Mavericks legend Dirk Nowitzki has not only contributed to the sport, but also to the city of Dallas. For his efforts, he was just given the key to the city.

At halftime in their game against the Brooklyn Nets, Dallas Mayor Mike Rawlings gave the key to the city to Nowitzki for his various grants to the Dallas community and society.

As reported by Adam Wermuth of Mavs.com, Rawlings said:

“Dirk embodies everything Dallas residents should aspire to be. For any sports fan out there, he’s a joy to watch, always striving for excellence and giving 110 percent. But what many don’t fully understand is how diligent, passionate, humble and generous Dirk is, on and off the court. Dallas is so fortunate and proud to have a leader like him in our city. He is a class act, a man who consistently puts his teammates, his city and his family before himself.”

Apart from his achievements as a professional basketball player, Nowitzki has done much for the community of Dallas. He has a charity aptly named The Dirk Nowitzki Foundation, which focuses on children’s well-being, health, and education.

Live and breathe the NBA?

🚨 Get viral NBA graphics, memes, rumors and trending news delivered right to your inbox with the Clutch Newsletter.

He also holds an Annual Heroes Celebrity Baseball Game, which helps out nonprofit organizations like Girls Embracing Mothers, Alley’s House, and the Booker T. Washington School for the Performing and Visual Arts. Outside the US, he has also donated to the JJ Barea Foundation to aid the Hurricane Maria victims in Puerto Rico.

These are just some of the many humanitarian offerings by Nowitzki. After receiving the key to Dallas, Nowitzki shared his heartfelt gratitude for the honor. He thanked Dallas for supporting him for the past 20 years.

“I’m very honored, very humbled. It’s been a long great ride here. 20 years representing this city proudly…the franchise, the city, and the fanbase,” Nowitzki said. “Dallas has supported me and took me in from day one. We grew together and I have done everything in my power to give back to this city. Thank you.”

Dirk is expected to make his season debut soon.