David Lee has agreed to sign a two-year deal with the San Antonio Spurs.

The second year of the deal is a player option for Lee.

Lee played for the Celtics and Mavericks this past season following his trade from the Warriors.

Lee averaged 8.5 points and 7.0 rebounds in 17.3 minutes per game with the Mavs.