ORLANDO, Fla. -

The Orlando Magic selected Aaron Gordon with the No. 4 pick in the NBA draft on Thursday night.

Gordon, a 6-foot-9 forward from Arizona, was the Pac-12 freshman of the year last season and helped the Wildcats to a 33-5 record this past season. He also averaged 12.4 points and eight rebounds per game, to go along with eight double-doubles.

He joins a Magic front court that already includes 7-footer Nik Vucevic, and should have at a chance to contribute immediately to a Magic roster that is thin at forward.

The team said Gordon was named First Team All-Pac-12 and the 2013-14 Pac-12 Freshman of the Year. Gordon also earned Third Team All-American honors by The Sporting News and Honorable Mention by The Associated Press. He was one of six finalists for the Wayman Tisdale National Freshman of the Year Award.

It's the first of two picks the Magic have in the first round on Thursday night. They also have the No. 12 overall pick.

Earlier Thursday Orlando also picked up the 56th overall pick from Denver by trading swingman Arron Afflalo back to the Nuggets for point guard Evan Fournier.

Afflalo previously played three seasons for the Nuggets before being dealt to Orlando in August 2012 as part of the four-team, 12-player deal that also involved Dwight Howard.

He averaged career-high 18 points per game last season for the Magic.

But with Afflalo gone, in Gordon the Magic add another athletic player to go along with guard Victor Oladipo, who finished second in rookie of the year voting last season.

Gordon will compete with Magic forwards Maurice Harkless and Tobias Harris for playing time early.

The Magic are coming off a 23-59 finish this past season and haven't made the playoffs since Howard's departure.