Pau Gasol has agreed upon a three-year deal to re-sign with the San Antonio Spurs.

Gasol opted out of his $16.2 million deal with the Spurs this offseason. Gasol signed a two-year, $30 million deal with the Spurs in 2016.

San Antonio was seeking additional cap flexibility this offseason.