Reserve guard Nate Robinson has agreed to sign with the Nuggets for two seasons, a league source confirmed Monday.

The source confirmed that the two-year deal is for the bi-annual salary cap exception, which is $4.03 million combined.

Robinson, 5-foot-9 and 180 pounds, averaged 13.1 points, 4.4 assists and 24.4 minutes in 82 games last season with the Chicago Bulls. He made 141-of-348 (.405) 3-point attempts last season, which would rank higher than only two Nuggets — Wilson Chandler (.413) and Evan Fournier (.407) — who made more than 50 attempts in 2012-13.

Robinson, 29, has a bit of history with the Nuggets. He was involved in the 2006 Nuggets-Knicks fight when Carmelo Anthony and J.R. Smith mixed it up with Mardy Collins and Robinson.

With the Bulls last season, Robinson made waves with a 23-point fourth quarter against the Nets in the playoffs, on his way to 34 in that game.

At the 2010 all-star weekend, Robinson became the first three-time slam dunk contest winner. He also won in 2006 and ’09.

The eight-year NBA veteran was drafted by Phoenix with the 21st overall pick of the 2005 draft. He left the University of Washington after his junior season. He played football for the Huskies in 2003 before his father convinced him to concentrate on basketball. He was first-team all-Pac-10 as a sophomore and junior.

Robinson has averaged 11.5 points and 3.0 assists in his NBA career, and has made 36.3 percent of his 3-pointers. He also has played for the Boston Celtics, Oklahoma City Thunder and Golden State Warriors.