DENVER — Arron Afflalo's second stint in Denver didn't last long, with the veteran guard sent to the Portland Trail Blazers in a five-player deal Thursday.

The Nuggets also included backup forward Alonzo Gee in the trade. In return, Denver received Thomas Robinson, Victor Claver and Will Barton along with first- and second-round draft picks, a person with knowledge of the deal told The Associated Press. The person requested anonymity because no deal has been announced.

Yahoo! Sports was first to report the trade.

With Afflalo, the Blazers acquire a shooter who can come in off the bench to spell Wesley Matthews.

Afflalo averaged 14.5 points this season, but has struggled at times with his jumper. He's shooting just under 43 percent, which would be his worst since his rookie season in 2007-08.

The 29-year-old Afflalo was reacquired by Denver from Orlando in a draft-night trade last June. Although his name has been mentioned leading to the trade deadline, Afflalo said it wasn't bothering him.

"I'm enjoying being a Nugget," Afflalo said Wednesday after practice. "I'll always enjoy being a Nugget, despite the losses, despite whatever individual role I have.

"I'll be fine."

The Nuggets are shaking things up after a 20-33 start in coach Brian Shaw's second season in charge. They traded center Timofey Mozgov to Cleveland last month for two first-round picks.

Another player in the trade-talk mix is versatile forward Wilson Chandler.

"Every year you go through it," Shaw said. "It's nothing that we can control. All we can do is control what we do on the floor."

Barton was a second-round pick by the Blazers in the 2012 draft out of Memphis. The 6-foot-6 guard appeared in 30 games this season, averaging 3 points and 1.1 rebounds in 10 minutes per game.

Robinson, a fan favorite, played in 32 games for Portland this season, averaging 3.6 points and 4.2 rebounds. On Dec. 17 against Milwaukee, Robinson became the third player in team history with 15 or more points and rebounds in his first start. The other Trail Blazers to do that? Maurice Lucas and Bill Walton.

Known as "T-Rob," the 6-foot-10 Robinson was the fifth overall pick out of Kansas in the 2012 draft by the Sacramento Kings. He also played at Houston before he was traded to the Trail Blazers in July 2013.

Claver is a little-used 6-foot-9 small forward from Spain. He has appeared in 12 games this season, averaging 2.4 points.

AP Sports Writer Anne M. Peterson in Portland, Oregon, contributed.