Rudy Gay has agreed upon a two-year, $17 million-plus deal with the San Antonio Spurs.
Gay will have a player option in the second year.
Gay opted out of his $14.2 million deal with the Sacramento Kings for the 17-18 season.
The Golden State Warriors and Oklahoma City Thunder also expressed interest in signing Gay before coming to deals with other players.