Bradley Beal has agreed on a contract extension with the Washington Wizards that removes one of the NBA’s most sought-after commodities from the market for the foreseeable future.

The 26-year-old All-Star guard now will not be part of the potential blockbuster free-agency Class of 2021 (think: LeBron James, Kawhi Leonard, Giannis Antetokounmpo). And Beal can’t be traded until after this coming season, at the earliest.

Not happening, Nets. Sorry, Lakers. Nope, Nuggets. (And plan to put those spare dollars elsewhere, Knicks.)

Beal will receive a two-year extension worth nearly $72 million that begins with the 2021-22 season, his agent confirmed Thursday. Beal still had two years left on his existing contract. In all, the deal guarantees Beal nearly $130 million over the next four years.

But the 2022-23 season has a player option, meaning Beal can opt of the deal in the summer of 2022, coinciding with his 10th year in the league. He then would be eligible to sign a new five-year pact with the Wizards worth $266 million, according to ESPN, which would be the largest contract in NBA history.

Still, it’s a bold commitment by Beal to a rebuilding Wizards team that will be without point guard John Wall for this entire season as he recovers from an Achilles injury and is mostly bereft of promising younger talent.

Beal finished 12th in the league in scoring last season at a career-best 25.6 points per game while adding 5.5 assists and 5.0 rebounds. Beal was drafted with No. 3 pick out of Florida in 2012.

With AP