JaVale McGee has agreed to sign with the Sacramento Kings.

McGee was waived and stretched by the Dallas Mavericks earlier this week. McGee had $11.7 million remaining on his three-year, $17.2 million deal.

Mike Brown was an assistant coach for the Golden State Warriors when McGee was with the franchise.