Marvin Williams Jr. and the Charlotte Hornets have agreed to a buyout.

Williams was on a $15 million expiring contract and will clear waivers to become an unrestricted free agent.

Williams has been with the Hornets since 2014 and will give a contending team frontcourt versatility. 

Shams Charania of The Athletic reports Williams plans to sign with the Milwaukee Bucks once he clears waivers.