Tracy McGrady has rejoined the Orlando Magic.

The two-time NBA scoring champion and seven-time All-Star signed on to become a special assistant to CEO Alex Martins, the Orlando Sentinel has learned.

McGrady grew up in Polk County, and he’ll help promote and market the new Lakeland Magic G League franchise.

But McGrady’s duties are expected to go beyond that. He’ll be around, at least occasionally, to work with Orlando Magic players and coaches on and off the court. It would not be a surprise if he assists with recruiting free agents to the Magic.

Even though McGrady and the Magic parted ways on strained terms in 2004, a reunion between McGrady and the franchise has been rumored for years. The team honored him on opening night of the 2013-14 season as part of its 25th-anniversary celebration, and the gesture seemed to repair the relationship.

McGrady played 15 seasons in the NBA.

In 2000, he joined the team, along with Grant Hill, as a high-priced free agent in 2000. He spent four seasons in Orlando and averaged 28.1 points per game for the Magic. But with Hill severely hampered by injuries, the Magic never advanced beyond the first round of the playoffs during McGrady’s Magic tenure.