PHOENIX (AP) — The Phoenix Suns have signed big man Alan Williams to a three-year, $17 million contract.

The restricted free agent agreed to the deal earlier this month and the Suns announced he re-signed on Wednesday.

The 24-year-old Williams averaged 7.4 points on 51 percent shooting and 6.2 rebounds in 47 games last season, his second in the NBA.

Williams signed a 10-day contract with the Suns in 2016 and averaged 2.9 points and 3.8 rebounds. He played the 2015-16 season in China after being an undrafted free agent from UC Santa Barbara.