Derrick White and Jaylen Brown of the Boston Celtics hug after Game Six of the Eastern Conference Finals in May.
CNN  — 

Two-time NBA all-star swingman Jaylen Brown has agreed to a five-year, $304 million supermax contract extension with the Boston Celtics, his agent said Tuesday.

The deal is the richest in NBA history, eclipsing the $276 million contract of Denver’s Nicola Jokić, signed in 2022, according to salary tracking website Spotrac.

The contract is fully guaranteed, agent Jason Glushon said in an email.

CNN has reached out to the Celtics for comment.

News of the record deal was first reported by ESPN and Shams Charania of The Athletic and Stadium.

Last season, Brown, a guard/forward, averaged a career-best 26.6 points, 6.9 rebounds and 3.5 assists per game.

The 26-year-old was named to the 2022-23 All-NBA second team. Brown, the 2016 No. 3 overall pick, was eligible for the new contract as a result of making the All-NBA team.

NBA.com: Tracking every new deal of the offseason

In seven seasons in Boston, Brown has helped the Celtics advance to five Eastern Conference Finals and an NBA Finals appearance in 2022.

ESPN reported the contract extension begins in the 2024-2025 season and runs through the 2028-2029 season, when Brown will be 32.

His previous contract was a four-year, $106 million deal, according to Spotrac.

CNN’s Steve Almasy contributed to this report.