The Kansas City Chiefs have agreed to a 10-year contract extension with Super Bowl MVP Patrick Mahomes.

The Chiefs had Mahomes under contract for the next two seasons but wanted a long-term deal in place with the quarterback who led them to their first championship in 50 years.

“Here to stay,” Mahomes wrote on Twitter.

ESPN.com reported the deal is worth $450 million with an injury guarantee of $140 million.

The Chiefs already had picked up their fifth-year option in April on Mahomes, who had been due to make $825,000 on the final year of his rookie contract this season, to keep him around at least through 2021. Now this extension will keep him under contract through the 2031 season.

Mahomes threw touchdown passes on consecutive fourth-quarter drives in rallying the Chiefs to their first Super Bowl title in 50 years and the first for coach Andy Reid. That Super Bowl comeback performance earned Mahomes the MVP award.

More AP NFL: https://apnews.com/NFL and https://twitter.com/AP_NFL