Golden State Warriors restricted free agent Patrick McCaw has agreed to the terms of a two-year, $6 million offer sheet from the Cleveland Cavaliers, according to a report from Shams Charania of The Athletic:

According to ESPN’s Adrian Wojnarowski, the Warriors retain the right to match the Cavs’ offer sheet, though they’ll need to do so by Jan. 7. The deal is also non-guaranteed:

McCaw, now 23 years of age, became a restricted free agent following the 2017-18 season. In October of this year, he allowed Golden State’s $1.7 million qualifying offer to expire without accepting it, though the team retained the ability to match any other offers.

In 128 games played, the 6-foot-7 shooting guard has racked up averages of 4.0 points on 42.1 percent shooting form the field (29.6 percent from beyond the arc), 1.4 rebounds and 1.4 assists.

McCaw played his collegiate ball at UNLV, where he averaged 12.2 points, 4.2 rebounds, 3.3 assists, 2.0 steals and 31.7 minutes in 65 games. A solid defender, McCaw earned second-team All-Mountain West Conference honors and made the Mountain West All-Defensive team.

The Cavs (8-27) are in the midst of a rebuild phase, so the gamble on McCaw should come as no surprise. In the wake of LeBron James’ departure, Cleveland is looking for talented, young payers who they can mold.

The likely addition of McCaw is going to leave the Cavs with a decision to make, as they already have several talented guards on the roster. How they will choose to utilize his services remains to be seen, assuming the Warriors don’t match the offer sheet.

Cleveland will be back in action on Friday night, as they’re scheduled for a matchup against the Miami Heat. Tip-off inside AmericanAirlines Arena is set for 8:00 p.m. ET.