CHARLOTTE, NORTH CAROLINA - MARCH 01: Marvin Williams #20 of the Milwaukee Bucks during the fourth quarter during their game against the Charlotte Hornets at Spectrum Center on March 01, 2020 in Charlotte, North Carolina. NOTE TO USER: User expressly acknowledges and agrees that, by downloading and/or using this photograph, user is consenting to the terms and conditions of the Getty Images License Agreement. (Photo by Jacob Kupferman/Getty Images)

Marvin Williams has announced his retirement from the NBA after 15 years.

Williams made his decision after the elimination of the Milwaukee Bucks from the Eastern Conference Finals. The Bucks lost to the Miami Heat in the semifinals (4-1).

Williams averaged 10.2 points and 5.2 rebounds in 1072 NBA games.