Orlando restricted free agent Tobias Harris has reached agreement on a four-year, $64 million-plus contract to re-sign with the Magic, league sources told RealGM.

Harris, the most talented wing player in restricted free agency, had spent the first three days of July negotiating on a long-term deal with the Magic. Several other suitors emerged during the process, including the Los Angeles Lakers, Detroit Pistons and Boston Celtics.

Discussions between the Magic and Harris had briefly paused Friday afternoon, seemingly needing the weekend to resume, but Orlando was able to increase its positioning to reach terms for the 22-year-old. For Harris and the Magic, this represents a value contract to match a budding talent, a step toward continuing the team’s core.

Out of Tennessee in 2011, Harris went to the Milwaukee Bucks with the 19th overall pick in the NBA Draft. He spent two years with the Bucks before being dealt to Orlando in 2013. Over four NBA seasons, Harris has established himself as a tremendous citizen in the community, with a strong work ethic on the court shown in year-to-year leaps. He was drafted with star potential and has sought to reach the level through offseason training.

At 6-foot-8, Harris averaged 17.1 points, 6.3 rebounds and 34.8 minutes in 68 games last season. He has made shooting improvements each season, a sign of growth every summer, and shot 36.4 percent from three-point range in 2014-15.

Harris has career averages of 12.7 points and 5.5 rebounds.