On Monday afternoon, ESPN’s Adam Schefter reported that the Kansas City Chiefs and quarterback Patrick Mahomes have reached a ten-year contract extension. The deal ties Mahomes to Kansas City through the 2031 season.

According to Schefter, Mahomes’ new deal is worth up to $503 million. It’s not just the largest contract in NFL history either. Mike Trout’s $426.5 million deal with the Los Angeles Angels is the largest in North American sports history, but Mahomes’ new contract shatters that mark. Including the $27.6 million remaining in the final two years of his rookie deal, Mahomes’ contract is worth $530.6 million.

NFL Network’s Ian Rapoport also reported that the deal includes $477 million in guarantee mechanisms and has a no trade clause.

Previously, Russell Wilson held the record for the highest annual salary by a quarterback in NFL history. He signed a four-year extension with the Seattle Seahawks last offseason that paid out $35 million a year. When his extension kicks in, Mahomes begins making $50.3 million annually, blowing Wilson’s record out of the water.

The brightest young star in the NFL today, Mahomes earned every penny of his extension. In 2017, the Chiefs selected the Texas Tech product with the tenth overall pick. Mahomes sat behind Alex Smith for his rookie season before taking over Kansas City’s starting role in 2018. That year, he became the new face of football.

Mahomes won the league MVP, joining an elite list of quarterbacks to throw for 5,000 yards and 50 touchdowns in a single season. However, the Chiefs came up one game short of reaching the Super Bowl. Mahomes rectified that this past season, leading Kansas City to its second Super Bowl victory in franchise history.

Mahomes joins a short list of quarterbacks who have received ten-year deals. While Donovan McNabb inked a 12-year deal in 2002, Drew Bledsoe and Brett Favre both agreed to long-term contracts in 2001. The most recent ten-year deal for a quarterback came in 2004, when Michael Vick signed a massive extension with the Atlanta Falcons.

Mahomes’ deal impacts Kansas City’s ability to build a winning football team around their star quarterback. Defensive tackle Chris Jones already threatened to hold out this coming season if he doesn’t receive an extension. Eric Fisher, Travis Kelce, Tyrann Mathieu, and Mitchell Schwartz all need new deals after the 2021 season.

With Mahomes on board until he turns 37 years old, the Chiefs could become a Super Bowl contender for the next decade. However, the team’s long-term viability relies on the front office’s ability to juggle several large contracts and satisfy multiple superstars.