San Antonio Spurs star Manu Ginobili has reached agreement on a two-year, $5.7 million contract to return to the franchise, league sources told RealGM.

Ginobili, 37, will have the second season at his option as he maintains a year-to-year pulse on his playing status.

Ginobili had contemplated retirement ever since the Spurs lost to the Los Angeles Clippers in the Western Conference playoffs but announced on Monday that he would return next season, and now beyond that if he chooses. After his decision, Ginobili and the Spurs started discussions on a new deal, agreeing to a deal that would allow the Spurs to sign LaMarcus Aldridge.

Ginobili's deal is for $2.8 million in Year 1 and $2.9 million in Year 2.

In 13 NBA seasons with the Spurs, Ginobili has been a franchise cornerstone — compiling four champions, two All-Star berths and the Sixth Man award in 2007-08. He has helped revolutionized the two-guard position, bringing crafty European moves and a flare to his competitiveness in his move from overseas to the NBA.

Ginobili averaged 10.5 points, 4.2 assists and three rebounds in 70 games last season for the Spurs. Over his career, the 6-foot-6 guard has averaged 14.3 points, four assists and 3.8 rebounds.