Free agent guard Patty Mills has agreed to return to the Brooklyn Nets on a two-year, $14.5 million deal, his agent, Steven Heumann of CAA Basketball, told ESPN’s Adrian Wojnarowski.

Mills had declined his $6.2 million option earlier this week but opted to return as NBA free agency opened Thursday.

Mills, 33, joined the Nets last season after playing the past 10 years with the San Antonio Spurs.

One of the league’s premier sharpshooters, Mills stepped up for the Nets in the absence of the injured Joe Harris, starting 48 games for Brooklyn. He came off the bench in their first-round loss to the Boston Celtics, playing 18 minutes per game in the series.

Mills had another strong shooting campaign, canning 40% of his 3-pointers on 7 attempts per game in the regular season. Despite never playing starter minutes, Mills has made more than 1,000 3s over the past six seasons. He is the only player in the NBA to hit that many 3-points while playing under 30 minutes per game each season during that span.

Mills hit a career-high 227 3-pointers last season.

Mills is also a highly respected teammate, having won the NBA’s Joe Dumars Trophy last season for best representing the ideals of sportsmanship on the court.

This story originally Appeared on ESPN