Dallas Mavericks star Dirk Nowitzki has moved up another notch on the NBA’s all-time scoring list.

The German big man surpassed Shaquille O’Neal for the No. 6 scorer in NBA history, during the Mavs’ Wednesday night 119-118 overtime win against the Brooklyn Nets.

Going into the game, Nowitzki needed just 10 points to pass O’Neal, who finished his career with 28,596 points. He passed Shaq with a midrange jumper over Andrea Bargnani with 9:51 remaining in the second quarter.

“That was a moment I’ll never forget the rest of my life,” said Nowitzki, who finished the game with 22 points, giving him 28,609 for his career. “It’s surreal passing Shaq, all-time great, legend. I was able to compete against him for a long, long time. I was a fan of his in the ’90s. Arguably the most dominant big man ever seen in this game. It’s sort of weird that I’m up there now with all these legends, but like I always say, I’m really going to enjoy this once my career is over.”

Next on the list is Wilt Chamberlain in fifth with 31,419 points, which could be within Nowitzki’s reach if he opts to play another season after his current contract expires (following the 2016-17 season).