The Chiefs have again restructured and extended the contract of Patrick Mahomes, and as a result, have ensured that the star quarterback will be a fundamental part of the team’s forthcoming stadium in Kansas.

In the latest reworking of an agreement first signed in 2020, the Chiefs have added two years and more than $239 million to the overall term, keeping him in place through the 2033 season. Mahomes will now earn $504.75 million—all of it guaranteed through contract mechanisms—with incentives that could bring the total value to $522.25 million.

Notably, the revision brings Mahomes back to the top of the NFL’s quarterback pay scale—something the team felt was warranted given that he has won two league Most Valuable Player Awards and has led the Chiefs to five Super Bowls and won three. In 2027, when the new money begins, he will average more than $63 million and set a new record for average annual value in a NFL player deal.

“Over the last decade, Patrick has become one of the most iconic, beloved sports figures of all time,” Chiefs owner Clark Hunt said in a statement. “He has been instrumental in shaping the Chiefs brand and putting Kansas City on the world stage; and on top of it all he has been an outstanding role model in the community. Patrick is a generational talent and an elite human being, and I’m so excited he will continue to lead our team into the future.”