CHARLOTTESVILLE, Va. (CBS19 SPORTS) -- For five years Mamadi Diakite was a Virginia Cavalier, now for at least training camp Diakite will be a Cleveland Cavalier.

The former UVA and Blue Ridge standout signed a non-guaranteed Exhibit 9 deal with the Cavaliers, which will put Diakite through training camp. Diakite worked out with Cleveland earlier this month, according to Cleveland.com.

Diakite has played in 27 NBA games since going undrafted out of Virginia in 2020. The 6'9" big man started his career with the Milwaukee Bucks as a two-way player during his rookie season before being promoted to the active roster and helping the Bucks win the 2021 NBA Championship. Last season Diakite spent part of the year with the Oklahoma City Thunder on three separate 10-day contracts along with former UVA teammate Ty Jerome.

During the 2020-21 season, Diakite also played in the G League for the Lakeland Magic, who later won the league championship after Diakite was called up to the Bucks, averaging 18.5 PPG and 10.4 RPG in 12 appearances. Diakite earned a spot on the first team All-G League and the All-Defensive Team.