At age 34, Marvin Williams would likely still be able to get a minimum-salary contract on an NBA team this offseason if he wanted to extend his career. Pool Photo-USA TODAY Sports

Veteran NBA forward Marvin Williams has decided to call it a career, telling Marc J. Spears of The Undefeated (Twitter link) that he’s retiring as a player.

Williams, 34, was the second overall pick in the 2005 NBA draft. He began his career by spending seven seasons with the Hawks before moving on to play for the Jazz, Hornets, and Bucks over the course of his 15-year career.

Although he never developed into the sort of star player Atlanta might have hoped for when drafting him ahead of Deron Williams and Chris Paul in 2005, Williams was an exemplary teammate and a reliable role player, averaging 10.2 PPG and 5.2 RPG on .443/.361/.808 shooting in 1,072 career regular-season games (28.1 MPG).

The former UNC standout appeared in another 59 playoff contests, including 10 with Milwaukee this summer. He played his last NBA game on Tuesday night, recording 11 points and eight rebounds in the Bucks’ season-ending loss to Miami.

At age 34, Williams would likely still be able to get a minimum-salary contract on an NBA team this offseason if he wanted to extend his career. However, he had spoken back in January about considering retiring at the end of this season. At the time, he said he was interested in pursuing a role in international basketball outreach once his playing days were over.

“I like the Junior NBA (program) where you are basically a camp counselor all around the world,” Williams told Rick Bonnell of The Charlotte Observer. “Basketball Without Borders, I’ve done a couple of those: I went to Africa and I went to Indonesia. … Any opportunity I get to travel and work with kids? That’s what I would love to do.”

More must-reads:

TODAY'S BEST
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86
Report: Cavs owner 'would never' trade Donovan Mitchell to this team