Zach Randolph has agreed to sign a two-year, $24 million deal with the Sacramento Kings.

With Sacramento signing both George Hill and Randolph, they will no longer have cap space for their Otto Porter max offer in restricted free agency.

Randolph had been with the Memphis Grizzlies since 2009. Randolph will reunite with Dave Joerger with the Kings.