The Padres have built a World Series contender around Manny Machado. Now, the superstar third baseman is set to stay put in San Diego for a long, long time.

Machado and the Padres have agreed to an 11-year extension worth $350 million, sources told MLB.com on Sunday. The deal begins this year, meaning Machado would be under contract through the 2033 season, when he will turn 41 years old. The team has not confirmed the deal, which includes a full no-trade clause and no opt outs, per a source.

Machado had six years and $180 million remaining on the contract he signed with the Padres prior to the 2019 season. But he also had an opt-out clause in that deal which he could’ve exercised following the ’23 season. This past offseason, he informed the Padres of his plans to exercise that opt-out unless the two sides could agree on an extension.

That agreement appears to have come to fruition.