SACRAMENTO -- Hold onto your hats, the Kings have made another move. Sacramento sent veteran big man Zach Randolph and wing Justin Jackson to the Dallas Mavericks in exchange for forward Harrison Barnes.

Barnes, 26, is in his averaging 17.8 points on 39 percent shooting from long range this season for Dallas. At 6-foot-8, 225 pounds, the former Warriors first-round pick can play either forward position.

With the Kings going young, Randolph hasn’t played a minute this season for Sacramento. The 37-year-old is in the final year of a two-year contract he signed in the summer of 2017.

Taken with the 15th overall selection in the 2017 NBA Draft, Jackson had played in 52 of Sacramento’s 53 games leading into Wednesday. The 23-year-old wing is averaging 6.7 points in 20.8 minutes per game, mostly with the second team.

[RELATED: Latest 2019 NBA trade deadline rumors, news, updates]

Barnes is playing under a $24.1 million deal this season and has a player option for next year at $25.1 million. With the move, Sacramento ate up most of its remaining cap space.

According to a source, the Kings see Barnes as a long-term fit with the team.  

This was Sacramento’s second move in a matter of hours on Wednesday night. They traded veteran Iman Shumpert to the Houston Rockets earlier in the day in a three-team deal that brought Alec Burks and a second-round selection from the Cleveland Cavaliers to Sacramento.