Perhaps signing his last NBA contract, Pau Gasol has decided to join the San Antonio Spurs.

He reportedly agreed to a two-year, $30-plus million contract Monday, where the future of Tim Duncan will determine Gasol’s role. Adrian Wojnarowski of The Vertical and Marc Stein of ESPN reported the news, with the latter noting Gasol will have a player option for 2017-18.

The 35-year-old spent the last two seasons in Chicago before declining his $7.77 million player option for 2016-17. Still a double-double machine as he enters his late 30s, Gasol averaged 16.5 points, 11.0 rebounds and 4.1 assists per game last season. While he’s a liability on defense, particularly in pick-and-roll situations, he still averaged a pair of blocks per game last year and can play one-on-one matchups just fine.

He is the latest in a series of departures from Chicago, which traded Derrick Rose before the draft and lost Joakim Noah in free agency. It wasn’t long after the Bulls season that Gasol began looking to move on, expressing interest in going to San Antonio.