Dwayne Bacon is heading to Orlando. Ron Chenoy-USA TODAY Sports

The Magic are signing free-agent guard Dwayne Bacon to a two-year deal, according to Vincent Goodwill of Yahoo Sports.

The agreement includes a team option in the second season, with all indications being that Bacon will sign for the minimum salary exception, Josh Robbins of The Athletic tweets.

Bacon spent last season with the Hornets, who declined to extend him a qualifying offer this week. He averaged 5.7 points, 2.6 rebounds and 17.6 in 39 games, shooting just 35 percent from the floor.

Bacon, 25, was the No. 40 pick in the 2017 NBA Draft. He’s spent the past three seasons with Charlotte, appearing in a total of 135 games.

Orlando finished with the eighth-best record in the Eastern Conference last season at 33-40. The team sports a young nucleus that includes Aaron Gordon, Markelle Fultz, Jonathan Isaac and Mohamed Bamba, along with veterans such as Evan Fournier and Terrence Ross.

More must-reads:

TODAY'S BEST
Suns hire ex-NBA champion as new head coach
Frank Vogel fell victim to a Suns ownership group eager to win
Luka Doncic hands OKC first playoff loss with gutsy Game 2 effort
Three takeaways as Rangers take commanding 3-0 series lead on Hurricanes
Rams make surprising move with former team captain
Ohio State AD is wrong for thinking Michigan wins deserve asterisk
Padres OF Jurickson Profar is a legitimate MVP candidate
Steelers' Cameron Heyward comments on controversial Justin Fields idea
Pacers coach claims officials are biased against 'small market' teams
14-year-old phenom signs unprecedented MLS deal that includes future Man City transfer
Tiger Woods, Rory McIlroy's 'soured' relationship paints murky future for PGA Tour
Stars almost blow another lead, even series with Avalanche
Auburn's Hugh Freeze uncomfortable with 'bidding wars' for top players in transfer portal
Cavaliers punch back, blow out Celtics in Game 2
Coach: Oilers star center could miss Game 2 vs. Canucks
Watch: Cavaliers' Evan Mobley turns defense into offense in Game 2 vs. Celtics
Xander Schauffele tops stacked leaderboard after first round of Wells Fargo Championship
Suns talks with head-coaching target 'expected to move quickly'
Knicks get even more bad injury news ahead of Game 3
2008 Celtics champion sentenced to prison despite emotional plea