All-Star slugger Manny Machado has agreed to a new $350 million, 11-year contract that will keep him with the San Diego Padres through 2033, according to a person with knowledge of the deal.

“We’re excited to be here for the rest of our career and have this hat go into the Hall of Fame,” Machado said as he passed a group of reporters before Sunday’s game against the Arizona Diamondbacks.

Machado, 30, had said that after this season he planned to opt out of the $300 million, 10-year free agent deal he signed in 2019. With the $120 million he already has received, the new deal increases the free-spending Padres’ commitment to Machado to $470 million over 15 years.

Machado, who has helped turn the Padres into a World Series contender, finished second in the NL MVP race last year after batting .298 with 32 home runs and 102 RBIs. He’ll anchor a superstar-laden lineup that includes Xander Bogaerts, Juan Soto and Fernando Tatis Jr., who can return on April 20 from an 80-game drug suspension.

Earlier in spring training, Machado said a deadline for negotiating a new deal had passed, but owner Peter Seidler has said that retaining the third baseman was his top priority.

Seidler, a member of the O’Malley family that once owned the Dodgers, hasn’t been afraid to spend big money in pursuit of the club’s first World Series title.

Joe Musgrove was given a $100 million, five-year deal in July. The Padres signed Bogaerts to a $280 million, 11-year deal just after the winter meetings and signed ace Yu Darvish to a new $108 million, six-year deal earlier this month.

The $350-million deal will be the fourth-largest contract behind Mike Trout ($426.5 million, 12 years), Mookie Betts ($365 million, 12 years) and Aaron Judge ($360 million, nine years).

However, the $31.8 million average ranks just 16th.

Alcantara’s award comes correct

Miami Marlins ace Sandy Alcantara received his NL Cy Young Award trophy on Sunday for the second time — and this time he has no reason to give it back.

“I want to keep it for the rest of my life,” Alcantara said. “I think that is for my mom.”

When the Baseball Writers’ Association of America originally presented Alcantara with the trophy at its January awards dinner, the plaque dubbed both Alcantara and AL winner Justin Verlander the “most valuble” pitchers in their leagues, leaving out the second “a” in “valuable.”

Afterward, the group told him it would provide a new one.

The replacement contains the more up-to-date “most outstanding” phrasing.

Marlins owner Bruce Sherman presented the award to Alcantara at home plate before Miami’s spring training home opener against St. Louis.

As part of the ceremony, the public address announcer at Roger Dean Stadium in Jupiter, Fla. proclaimed that Alcantara was “finally” receiving his award.

“I didn’t expect that I was going to get my award today,” Alcantara said. “I thought I’d go outside and have fun with my teammates. But when I saw the surpy today.”

The 27-year-old right-hander went 14-9 with a 2.28 ERA in 2022.