Markelle Fultz and the Orlando Magic have agreed to a three-year, $50 million extension.

The Magic traded for Fultz during his second NBA season after dealing with injury issues with the Philadelphia 76ers.

Fultz averaged 12.1 points, 3.3 rebounds and 5.1 assists in 27.7 minutes per game last season with the Magic.