Gifted young center Nikola Jokic has agreed to a five-year, $148 million maximum contract to stay with the Denver Nuggets, league sources told ESPN's Adrian Wojnarowski.

On Tuesday, the Nuggets had declined a $1.5 million team option for the 2018-19 season and made Jokic, 23, a restricted free agent with the idea of signing him to this deal.

Jokic has developed into Denver's franchise star, averaging 18.5 points, 10.7 rebounds and 6.1 assists last season.

Denver won 46 regular-season games, missing the playoffs on the final game of the regular season.

Jokic was the 41st pick of the 2014 NBA draft and signed a typical deal for a second-round pick that includes unrestricted free agency after the fourth year.