Harrison Barnes liked his 28-game trial run in Sacramento so much, he’s decided to make it a permanent situation.

According to a league source, the 27-year-old forward plans to sign a four-year, $85 million contract to remain with the Kings.

Earlier this month, Barnes opted out of the final year of his contract that would have paid him $25.1 million this coming season. The Kings were confident they would be able to retain their starting small forward, however, and quickly moved to work out an agreement.

Barnes joined the Kings at the trade deadline in a swap that sent Justin Jackson and Zach Randolph heading to the Dallas Mavericks. Barnes averaged 14.3 points and 5.5 rebounds in 33.9 minutes per game after joining Sacramento at the deadline.

[RELATED: Report: Dedmon, Kings agree to three-year, $40M contract]

The seven-year NBA veteran helps solidify the Kings' core, which is about to receive a boost with the addition of big man Dewayne Dedmon.