Klay Thompson has agreed to a five-year, $190 million maximum contract that includes a 15% trade kicker to remain with the Golden State Warriors, his agent Greg Lawrence told ESPN's Adrian Wojnarowski.

News of Thompson's agreement was first reported by the San Francisco Chronicle. Wojnarowski reported Friday that Thompson was expected to accept a deal from the Warriors, assuming they offered him the maximum.

On Monday afternoon, Thompson took to Instagram to share his excitement, writing in his caption that "there was never a doubt."

Thompson is one of the NBA's best all-around players and a foundational talent for a franchise that has won three championships and reached five consecutive NBA Finals.

Despite Thompson's torn left ACL, suffered during the NBA Finals last month, the Warriors were committed to keeping him out of free agency.

Long-Range Forecast Klay Thompson has seven seasons with at least 200 3-pointers, tied with Stephen Curry for the most in NBA history: Player Seasons Klay Thompson 7 Stephen Curry 7 James Harden 5 Damian Lillard 5 Ray Allen 5 -- ESPN Stats & Information

He has recorded seven seasons with at least 200 3-pointers, tied with teammate Stephen Curry for the most in NBA history. Thompson has eight straight seasons of shooting at least 40% from 3-point range, the second-longest active streak in the league, behind that of Curry. Thompson's 1,798 career 3s rank 16th all time.

But Thompson has been more than just a shooter. Defensively, 2019 All-Stars shot 36% when Thompson was the closest defender last season, the lowest field goal percentage allowed by any defender (minimum 100 FGA), per Second Spectrum Sports. He was named to the All-Defensive second team.

And prior to the ACL tear, he had been extremely durable. Thompson has missed only 25 games (including playoffs) in the Steve Kerr coaching era. Thompson played at least 70 games while averaging over 30 minutes each of the last seven seasons -- something only James Harden, Damian Lillard and Thaddeus Young have also done during that span.

Thompson, 29, was selected 11th overall by the Warriors in the 2011 draft. He's a five-time All-Star and two-time All-NBA third-team player who holds a career scoring average of 19.5 points on 45.9% shooting from the field and 41.9% from 3-point range over eight NBA seasons.